Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: What does the dash before hash assignment means?by tobyink (Canon) |
on Sep 03, 2013 at 10:03 UTC ( [id://1052061]=note: print w/replies, xml ) | Need Help?? |
The fat comma is a bit of a red herring. The same is true with a regular comma...
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|