Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Mysterious hash behaviour

by Anonymous Monk
on Apr 07, 2005 at 06:48 UTC ( [id://445554]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my(%sortListArr);
    $sortListArr{'1'} = 'A1';
    ...
    $sortListArr{'4'} = 'A4';
    $sortListArr{'5'} = 'A5';
    $sortListArr{'6'} = 'A6';
    
  2. or download this
    foreach $key (keys %sortListArr){
    print $sortListArr{$key},"\n";
    }
    
  3. or download this
    $sortListArr{'7'} = 'A7';
    
  4. or download this
    $sortListArr{'0'} = 'A1';
    $sortListArr{'1'} = 'A2';
    ...
    $sortListArr{'4'} = 'A5';
    $sortListArr{'5'} = 'A6';
    $sortListArr{'6'} = 'A7';
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-25 08:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found