|
|
| There's more than one way to do things | |
| PerlMonks |
Re: For Loops and Reversing outputby Anonymous Monk |
| on Dec 12, 2006 at 09:07 UTC ( #589237=note: print w/ replies, xml ) | Need Help?? |
|
Are you looking to print your array in reverse order. If thats the case its easy. just loop in the following way for (my $i=$#sorted; $i>0 ; $i--) { print $sorted $i, "\n"; } Hope this helps
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||