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]]
> Sent: Friday, July 05, 2002 8:32 AM
> To: [EMAIL PROTECTED]
> Subject: array of arrays
> 
> 
> Hi,
> 
>   I have a simple question: how do I access an array in an array?
> 
>   @array = (@array1, array2);  ###  unless this is wrong...
> 
> 
>   the idea behind it is, that I have a long list, and want to put all
> 25 entries in a seperate array in that big array. later on I want to
> be able to read one specific array at a certain position...
> 
> 
> 
> --
> cheers
>  alex                          mailto:[EMAIL PROTECTED]
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to