[rochester-pm-list] unsubscribe sab0276@rit.edu
Scott Barton
sbarton at ufosys.com
Wed Feb 9 14:29:14 CST 2000
> -----Original Message-----
> From: Brian Mathis [SMTP:bmathis at directedge.com]
> Sent: Wednesday, February 09, 2000 3:33 PM
> To: rochester-pm-list at happyfunball.pm.org
> Subject: Re: [rochester-pm-list] foreach question...
>
> On Wed, 9 Feb 2000, Fred Edmister wrote:
> > I just meant any array, or method of opening the file and
> > splitting the lines into individule editable variables... I guess I
> should
> > have said if I use "foreach" OR any type of array, scalar, or any other
> > method... All I was curious about was if it's possible to split the
> lines
> > and make them singally editable and appendable to a text file...
> Otherwise,
> > I'l leave it as just opening the file, and having it edited that way...
> But
> > thank you for the reference to the docs...
> >
> > Fred
>
> You mean, like:
>
> open(FILE, "< file.txt") or die("Cant open file: $!");
> @lines = <FILE>;
> close FILE;
>
> ?
>
> --
> Brian Mathis
> Direct Edge
> http://www.directedge.com
More information about the Rochester-pm
mailing list