misconfiguration has asked for the wisdom of the Perl Monks concerning the following question:
sub infile { open $file "< $file" or die "Cannot open \"$file\"\n$!"; while (! eof($file)) { print "Find out how to read the input file and store e +ach object on a line in an array\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Slurping information and storing it in an array.
by toolic (Bishop) on Jan 09, 2008 at 17:09 UTC | |
|
Re: Slurping information and storing it in an array.
by alexm (Chaplain) on Jan 09, 2008 at 17:41 UTC |