Perl Monk, Perl Meditation | |
PerlMonks |
Sorting hashby vsailas (Beadle) |
on Feb 21, 2008 at 11:18 UTC ( [id://669239]=perlquestion: print w/replies, xml ) | Need Help?? |
vsailas has asked for the wisdom of the Perl Monks concerning the following question:
Hello all, I seek your help in resolving an issue at hand. I have this code: $a have a string, $b has a reference to an array(\@array1), $c is count of array at $b.
I want to sort '@Data'(ascending), using '$a', a string and all '$b','$c' must be carried along with $'a'. Also $dd{'1'}{'2'}{'3'}="hi"; how can I get the value used at second place '2' here. I use %{$dd{'1'}}; but it returns something like '2HASH(0x225e44)' Thanking all in advance, Sailas
Back to
Seekers of Perl Wisdom
|
|