Perl Monk, Perl Meditation | |
PerlMonks |
Re: Re: See if arrays matchby redsquirrel (Hermit) |
on Jul 24, 2002 at 01:28 UTC ( [id://184658]=note: print w/replies, xml ) | Need Help?? |
Your code returns the following when run with warnings enabled:
Use of uninitialized value in string eq at...
Here's one way to do avoid the warning:
The warning occurs on the last iteration after you have shifted out the last element of @sorted. --Dave
In Section
Seekers of Perl Wisdom
|
|