Rinku Mahesh schreef: > I've two arrays of same depth (let it be 6) > > 1st Array:- @unique {11 , 23, 44, 66, 900, 1009} > 2nd Array:- @occ_count {2, 77, 22, 2, 77,29} > [...] > b. The values of 1st array should also change in accordance with > the positions of elements of 2nd array such that sorting the 1st > array should reflect {23,900,1009,44,11,66}
Why then are these values not stored in an AoA? (see perldsc) my @x = ( [ 11, 2] , [ 23, 77] , [ 44, 22] , [ 66, 2] , [ 900, 77] , [1009, 29] ) ; -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>