We don't bite newbies here... much | |
PerlMonks |
Re^9: use feature 'postderef'; # Postfix Dereference Syntax is coming in 5.20 (*)by tobyink (Canon) |
on Dec 01, 2013 at 19:18 UTC ( [id://1065175]=note: print w/replies, xml ) | Need Help?? |
Perl 5.19.4 and above. With hashes it seems fairly useful...
Used on arrays, a la %arr[1,2,3] it seems less so.
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
In Section
Meditations
|
|