in reply to Re^2: Slurping strings from text file and pushing to array?
in thread Slurping strings from text file and pushing to array?
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
|
|---|