Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by ikegami (Patriarch)
on Jun 04, 2009 at 15:03 UTC ( [id://768459]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MDevel::Peek -e'$a[37865]=1; Dump \@a,1; push @a,2; Dump \@a,1
    +'
    SV = RV(0x8176690) at 0x814ed9c
    ...
      SV = PVAV(0x8153c64) at 0x814f6a8
        FILL = 37866           <-- Index of last used ele
        MAX = 65531            <-- Index of last allocated ele
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-25 22:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found