Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Assist in understanding old codeby tirwhan (Abbot) |
on Feb 28, 2005 at 23:52 UTC ( [id://435236]=note: print w/replies, xml ) | Need Help?? |
osunderdog has already explained what the code does. The reason you are getting the warning is that the code starts to fill the array at index 1:
but starts to retrieve and sort at index 0 Thus, you have an undef value in your comparison at nxxult[0] and you get a warning. Either change the loop to start filling the array at $nxxult[0] or count from 1 ... $#nxxult.
In Section
Seekers of Perl Wisdom
|
|