in reply to (Answered) How to force list context?
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 ☆☆☆☆ :)
|
|---|