Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^2: My questions: new to perl

by Anonymous Monk
on Mar 13, 2011 at 06:34 UTC ( #892920=note: print w/replies, xml ) Need Help??

in reply to Re: My questions: new to perl
in thread My questions: new to perl

Hashes can't be sorted. Their keys or values can be sorted.
Tie::IxHash - ordered associative arrays for Perl
Tie::InsertOrderHash - insert-order-preserving tied hash
Tie::Hash::Sorted - Presents hashes in sorted order

Replies are listed 'Best First'.
Re^3: My questions: new to perl
by ikegami (Pope) on Mar 13, 2011 at 06:54 UTC
    Ah yes. I didn't think of those because they aren't technically hashes. They do take on the same interface as a hash, so thanks for the correction.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2019-11-12 21:13 GMT
Find Nodes?
    Voting Booth?
    Strict and warnings: which comes first?

    Results (66 votes). Check out past polls.