#Store the file in an array, split by newlines while (<LOG>){ $string .= $_; } @array = split(/\n/, $string);
with
while (<LOG>){ chomp; push( @array $_ ); }
In reply to Re: Parsing a text file
by apl
in thread Parsing a text file
by nimajneb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |