Edward Wijaya wrote:

my $t = Tie::IxHash->new(%hash); $t->SortByValue; # ascending, ok!

$t->$hash{$b}<=>$hash{$a}SortByValue; #tried this but doesn't work

Where in the docs for Tie::IxHash did you find that syntax? You can obviously not just guess and hope that Perl will read your mind.


Did you possibly consider to use the Reorder method?

Edward, you have asked for help with this application a vast number of times on this list as well as other similar forums. There are reasons to believe that there is something fundamentally wrong with your methods for reading the docs and learning new stuff. You are posting way too many questions IMO.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to