![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: array bug?by hding (Chaplain) |
on Feb 03, 2003 at 18:39 UTC ( [id://232345]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|