Hi All, Thanks for the quick response and I got what I wanted. Thanks Regards Guruguhan EACoE, India. Ph - *91-80-5031516 Dial Comm - *901-1516
-----Original Message----- From: Sudarshan Raghavan [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:18 AM To: [EMAIL PROTECTED] Subject: Re: array inside an array "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] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]