in reply to Re^2: Sorting array
in thread Sorting array
I am getting some error..BTW I have created the above mentioned @arr using following command
push(@arr,($l2[6],$l2[7]));
But you you specified
my @arr = ( [ ch1=> 100 ], [ ch2=> 20 ], [ ch11=> 13 ], [ ch2 => 45 ], + [ ch1=> 1 ] );
please advise changes in my command to get a format like you specified. Thanks in advance..
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Sorting array
by NetWallah (Canon) on Jun 15, 2013 at 02:57 UTC | |
Re^4: Sorting array
by rkk (Novice) on Jun 15, 2013 at 02:55 UTC |
In Section
Seekers of Perl Wisdom