Hello,

I want to have a two dim array. I build it like this:
  
  my @Cylinders;


  /.*(<.*>),(<.*>).*/;
  push @{$Cylinders[0]}, $1;
  push @{$Cylinders[1]}, $2;


Seems to work but a get an array with '2' lines and 'n' columns  
instead of 'n' lines with '2' columns'.


display array with 'print Dumper \@Cylinders;' confirm this.

where is my mistake ?



thank if you can help me.

-- 
klp

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to