in reply to Re^3: Perl oddities
in thread Perl oddities
No, you don't need the +:
works as well, although you need more characters. I don't think there is any case in Perl where you need unary minus for disambiguation where you can't disambiguate in another way using 2 or 3 other keystrokes.print map {"$_",}, qw/foo bar/
Unary plus is just a convenience, not a requirement.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Perl oddities
by hardburn (Abbot) on Mar 01, 2005 at 16:18 UTC | |
by Anonymous Monk on Mar 01, 2005 at 16:49 UTC |
In Section
Meditations