Perl Monk, Perl Meditation | |
PerlMonks |
Re: Re: Last Element of Hashby bart (Canon) |
on Sep 26, 2003 at 13:26 UTC ( [id://294411]=note: print w/replies, xml ) | Need Help?? |
caveat: above will give warnings if @elements is full of numbers...No it won't. You can always use a number as a string without any warning. The reverse isn't always true. And besides, here, the elements are originally hash keys. Hash keys are always strings.
In Section
Seekers of Perl Wisdom
|
|