Personally I find your code with implicit "ASCII to integer" conversion of $_ far too magic.
Assigning explicit vars like ($val,$key)=split doesn't take much more code and is self documenting.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
In reply to Re: (Answered) How to force list context?
by LanX
in thread (Answered) How to force list context?
by rsFalse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |