Just another Perl shrine | |
PerlMonks |
Re: Sorted tied hash wierdnessby Roger (Parson) |
on Nov 19, 2003 at 00:03 UTC ( [id://308193]=note: print w/replies, xml ) | Need Help?? |
You can change the line:
to or and even insanely to And it will work. The last last solution is highly perl implementation dependent, it will not work if the order of evaluation changes in the future. I came up with it just to see if I could compare two shift's directly for fun. And yes it works. :)
In Section
Seekers of Perl Wisdom
|
|