just:

$hereiam[0][0] = "Things";
$hereiam[0][1] = " Eye ";
$hereiam[0][2] = "always";
$hereiam[0][3] = "wanted ";
$hereiam[1][0] = "blahhh";
$hereiam[1][1] = "blahh";
$hereiam[1][2]= "blah";



> -----Ursprüngliche Nachricht-----
> Von: Nikola Janceski [mailto:[EMAIL PROTECTED]]
> Gesendet am: Mittwoch, 18. September 2002 16:00
> An: 'pravesh biyaNI'; [EMAIL PROTECTED]
> Betreff: RE: how to initialise a two dimensional array
>
> 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]
>
>


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

Reply via email to