Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^6: What makes an array sorted and a hash unsorted?

by ikegami (Patriarch)
on Jun 01, 2009 at 18:12 UTC ( [id://767344]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $h{foo} = 'a';
    $h{bar} = 'b';
    $h{baz} = 'c';
    
    is(join(' ', values(%h)), "a b c");
    
  2. or download this
    $a[2] = 'a';
    $a[0] = 'b';
    $a[1] = 'c';
    
    is("@a", "a b c");
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-03-29 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found