in reply to array of arrays

PerlMonks is not a code-writing service ...

Replies are listed 'Best First'.
Re^2: array of arrays
by Anonymous Monk on Jul 28, 2011 at 12:59 UTC

    thank you, i know that.i tried this code but it doesnt work.

    #!/usr/bin/perl -w use strict; my @AoA; my $aref; my @array; open (IN,'<result'); while(<IN>){ push @AoA,[split]; } for $aref ( @AoA ) { shift @$aref ; @array=push(@array,@$aref); } for my $array(@array){ print @$array; }