my @lines; @ARGV = $file; while (<>) { my @fields = ...; push @lines, \@fields; }
@{$lines[0]} is the array for the first line.
@{$lines[1]} is the array for the second line.
etc
In reply to Re^3: Slurping strings from text file and pushing to array?
by ikegami
in thread Slurping strings from text file and pushing to array?
by Mad_Mac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |