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

Re: array bug?

by hding (Chaplain)
on Feb 03, 2003 at 18:39 UTC ( #232345=note: print w/replies, xml ) Need Help??

in reply to array bug?

I'm not sure why you think this is a bug, as you do not say. It appears to be working correctly to me; perhaps the piece of information that you lack is that sort by default sorts things as strings, which you could discover by reading the documentation for sort. If you want to sort numerically, you can supply your own function or block to do it.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2016-10-26 22:12 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (350 votes). Check out past polls.