you can use the Data::Dumper module to see the four dimension array values. use Data::Dumper; my @a = ( [ [ [ "0,0,0,0", "0,0,0,1" ], [ "0,0,1,0", "0,0,1,1" ], [ "0,0,2,0", "0,0,2,1" ], [ "0,0,3,0", "0,0,3,1" ], [ "0,0,4,0", "0,0,4,1" ], ], [ [ "0,1,0,0", "0,1,0,1" ], [ "0,1,1,0", "0,1,1,1" ], ], ], [ [ [ "1,0,0,0", "1,0,0,1" ], ], [ [ "1,1,0,0", "1,1,0,1" ], ] ] ); print Dumper([EMAIL PROTECTED]);
!wq [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: how do i declare loop and print a 4 dim array -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ --------------------------------- Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.