in reply to reading file into an array
Just make that @lines and forget the split.
The diamond op does exactly what you wanted in array context.open (FILE, "$original") or die "Error: $!"; my @lines = <FILE>; close(FILE);
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: reading file into an array
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 |