in reply to using split on a file
Update: Ignore the above code look at the reply below this.my $OldNewLine = $/; $/ = undef; open( FILE, "file" ); my @List = split( /\n%{5}\n/, <FILE> ); close (FILE); $/ = $OldNewLine;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: using split on a file
by eg (Friar) on Jan 02, 2001 at 14:39 UTC |