in reply to Re^2: what is @$varname in perl
in thread what is @$varname in perl
this :
OR... my $row; @$row = split(/,/, $line ); push @$sheet2 , $row; ...
Could be written like this in one line instead of three... my @row = (); @row = split(/,/, $line ); push @sheet2 , \@row; ...
And there is no need for the array variable row at all.... push @sheet2, [ split(/,/, $line ) ]; ...
|
|---|