in reply to How to store the list of values to array from 2D array

If you except 0,1,2 to be printed then the code should be likewise

$b[0][0]=00; $b[0][1]=01; $b[0][2]=02; $b[1][0]=10; $b[1][1]=11; $b[1][2]=12; $b[2][0]=20; $b[2][1]=21; $b[2][2]=22; my @x = $b[0];

Replies are listed 'Best First'.
Re^2: How to store the list of values to array from 2D array
by Anonymous Monk on Mar 05, 2009 at 07:32 UTC
    No. my @x = @{$b[0]};