P is for Practical | |
PerlMonks |
Re^2: shift implicit dereferenceby tobyink (Canon) |
on Oct 06, 2013 at 18:45 UTC ( [id://1057182]=note: print w/replies, xml ) | Need Help?? |
Another place a unary plus is often useful is to protect against the effects of the fat comma:
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|