"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]);
@array1 is an array of array references. To get 'x1' you would write $array1[0]->[0], 'x2' would be $array1[0]->[1] ... Read through these docs to get started with references perldoc perlreftut perldoc perlref perldoc perllol perldoc perldsc > > > 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. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]