![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re: Loosing Negative Values in Array Refby Thelonius (Priest) |
on Jun 03, 2009 at 13:41 UTC ( #768014=note: print w/replies, xml ) | Need Help?? |
You have Since a "-" is lt "0", you're never going to be seeing negative numbers. To get the array in alphabetical order, use sort. You could sort it after you create it, or you can create it in alphabetical order by changing to
In Section
Seekers of Perl Wisdom
|
|