Hello Curtis,
At 09:12 AM 9/13/2001 -0700, Curtis Poe wrote:
>I would try to avoid using DATA as the filehandle as this
>may cause confusion with the __DATA__ token.
Excellent stylistic point.
>Also, if you're going to read the entire file into an array, this
>is faster and (IMHO) easier t
--- Robert Citek <[EMAIL PROTECTED]> wrote:
> At 05:27 PM 9/13/2001 +0200, Jorge Goncalvez wrote:
> >Hi, How in Perl you can store each line of a file in an array?
>
> From section 4.1 in the Perl Cookbook
> (http://www.oreilly.com/catalog/cookbook/):
>
> @bigarray = ();
> open(DATA, "< mydatafi
At 05:27 PM 9/13/2001 +0200, Jorge Goncalvez wrote:
>Hi, How in Perl you can store each line of a file in an array?
>From section 4.1 in the Perl Cookbook
(http://www.oreilly.com/catalog/cookbook/):
@bigarray = ();
open(DATA, "< mydatafile") or die "Couldn't read from datafile: $!\n";
whil
Hi, How in Perl you can store each line of a file in an array?
Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]