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

Re: More Sorted Business with Hashes

by impossiblerobot (Deacon)
on Dec 23, 2001 at 01:40 UTC ( [id://133992] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    print "Data Dumper:\n";
    print Data::Dumper->Dump( [$as_hash],['as_hash'] );
    
  2. or download this
    Keys by value: key2 key3 key4 key6 key5 key1
    Sorted values: apples bread butter cake oranges steak
    ...
               };