Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: Dictionary-style sort a la Tcl?

by Anonymous Monk
on Feb 16, 2012 at 14:43 UTC ( #954255=note: print w/replies, xml ) Need Help??


in reply to Re^3: Dictionary-style sort a la Tcl?
in thread Dictionary-style sort a la Tcl?

Sorry, I guess I could have worded that better - it doesn't 'strip' leading zeroes, it just ignores them as it's doing a numerical comparison. In any case, the change I added seems to make the sort identical to the Tcl dictionary sort. I'm not sure about yours.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://954255]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2017-12-12 10:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (330 votes). Check out past polls.

    Notices?