I think you might actually want an array of arrays (list of lists,
etc.).  Then you can just do something like this:

push @BigArray,[EMAIL PROTECTED];

And then when you're done, you can do something like this:

foreach(@BigArray){
   my $temp = $_->[0];
   my @tempArray = @{$temp};
}


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 04, 2004 10:22 PM
To: [EMAIL PROTECTED]
Subject: RE: [ Hash of Arrays]

------------<snip>---------------

Also is there a better way to define a hash when I already have existing
arrays rather than defining the hash for every individual key and array.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to