Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: How to compare hash value (sort, join, hash)

by Adam (Vicar)
on Apr 25, 2003 at 17:25 UTC ( #253207=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my %merge;
        for my $key (  keys %myhash  )
        {
            push @{ $merge{ join $;, sort @{ $myhash{$key}} } }, $key;
        }
    
  2. or download this
    #! perl -w
    use strict;
    ...
                              'd'
                            ]
             };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://253207]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2022-05-21 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (76 votes). Check out past polls.

    Notices?