RE: array of arrays

2002-07-05 Thread Nikola Janceski
you need to learn about references. read the: perldoc perllol here is the jist though. @all = (\@array1, \@array2 ... ); # ... so on to access first array and first element: $all[0]-[0]; # i think or is it: $all[0][0] -Original Message- From: alex [mailto:[EMAIL PROTECTED]]

Re: array of arrays :: part2

2002-07-05 Thread drieux
On Friday, July 5, 2002, at 08:31 , Connie Chan wrote: [..] If you want to know what 'fields' inside %Data : @DataKeys = keys(%Data); print @DataKeys; # So you get Code, Birth, Name... # However, the elements order in @DataKeys is not base #on how's the order you create your key field in