Do you know where your variables are? | |
PerlMonks |
Re^4: Perl object memory overhead (Benchmark special case?)by tobyink (Canon) |
on Mar 31, 2014 at 16:54 UTC ( [id://1080428]=note: print w/replies, xml ) | Need Help?? |
There's this:
It's not as fast because the arrayref in handles results in a curried coderef, but not unacceptably slow either.
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|