There's more than one way to do things | |
PerlMonks |
Re^2: Creating accessors on the fly, or not...by dsheroh (Monsignor) |
on Jun 13, 2009 at 12:16 UTC ( [id://771222]=note: print w/replies, xml ) | Need Help?? |
Can you point me to a good explanation of why make_immutable is recommended?
Going through the first 50 google results for "perl moose make_immutable", I came across a few statements that "make_immutable is a Moose best practice", but none of them stated the reason for it. Is this solely because it makes object creation faster (as shown by Pichi's Moose benchmarks) or are there other reasons aside from performance?
In Section
Seekers of Perl Wisdom
|
|