Oops!  That last line should be:

   my @tempArray = @{$_};

-----Original Message-----
From: Tim Johnson 
Sent: Tuesday, May 04, 2004 10:36 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [ Hash of Arrays]

 
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};
}


-

--
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