Hello Guru, 

Your variable in english would be termed as:

* An Array whose elements are "Reference to Arrays".

As such, you can get to the elements via:

$array[0]->[0] will be x1
$array[0]->[1] will be x2
...
$array[2]->[1] will be x8

Have a look at
% perldoc perlref
for more info... 



On Tue, 2003-10-14 at 15:26, N, Guruguhan (GEAE, Foreign National,
EACOE) wrote:
> Hi All,
>          I have recently started using Perl for my project. I have a problem in 
> getting elements of the following array.
> 
> @array1 = ( [ x1, x2, x3],
>             [ x4, x5, x6],
>             [ x7, x8, x9]);
> 
> I would like to get the elements x1 to x9 and replace that with certain numbers. Can 
> somebody help me in getting the array elements individually. Any help or suggestion 
> in this regard is welcome.    
> 
> Thanks
> Regards
> Guruguhan
> EACoE, India.
> Ph - *91-80-5031516
> Dial Comm - *901-1516


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

Reply via email to