Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Thanks everyone
open (FILE, "$original") or die "Error: $!"; my $lines = <FILE>; my @array = split(/\n/, $lines); close(FILE);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: reading file into an array
by Zaxo (Archbishop) on May 31, 2004 at 23:45 UTC | |
by Anonymous Monk on May 31, 2004 at 23:52 UTC | |
by Zaxo (Archbishop) on Jun 01, 2004 at 00:03 UTC | |
by Somni (Friar) on Jun 01, 2004 at 00:09 UTC | |
|
Re: reading file into an array
by davido (Cardinal) on Jun 01, 2004 at 03:47 UTC | |
by halley (Prior) on Jun 01, 2004 at 17:26 UTC | |
|
Re: reading file into an array
by TomDLux (Vicar) on Jun 01, 2004 at 01:30 UTC | |
|
Re: reading file into an array
by tinita (Parson) on May 31, 2004 at 23:45 UTC | |
|
Re: reading file into an array
by Happy-the-monk (Canon) on May 31, 2004 at 23:47 UTC | |
|
Re: reading file into an array
by meetraz (Hermit) on Jun 01, 2004 at 20:57 UTC |