you only need to declare with my() the first array. all the other arrays are
just references to anonymous arrays (if you create the 2-d array like most
people do).

ex:

my(@arr);

$arr[0] = [ qw( 1 2 3 4 5 ) ];


> -----Original Message-----
> From: pravesh biyaNI [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 18, 2002 9:56 AM
> To: [EMAIL PROTECTED]
> Subject: how to initialise a two dimensional array
> 
> 
> Hi
>   I am using a two dimentional array!! but the script on 
> running gives 
> an error
> 
> global symbol requires explicit package name.
> 
> how to use my () with a two dimentional array
> 
> help awaited
> pravesh
> 
> 
> -- 
> 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