Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: key and values helpby dsb (Chaplain) |
on Aug 07, 2004 at 13:05 UTC ( [id://380898]=note: print w/replies, xml ) | Need Help?? |
I like your solution, but I'm not sure what + is doing in this line:
I found this in perlop Unary "+" has no effect whatsoever, even on strings. It is useful syntactically for separating a function name from a parenthesized expression that would otherwise be interpreted as the complete list of function arguments. Is that what you were doing there? Making sure Perl knew that the return value from shift( @items ) was not part of an argument list?
dsb This @ISA my cool %SIG
In Section
Seekers of Perl Wisdom
|
|