3 ms·
Since ~2009 Perl 5 has had the Moo* ecosystem of modules (Moose, Moo, Mouse) to provide an object system that supports much of this. It was created as a backpo
by kbenson 11y ago
Since ~2009 Perl 5 has had the Moo* ecosystem of modules (Moose, Moo, Mouse) to provide an object system that supports much of this. It was created as a backport of ideas for Perl 6's object system, which was heavily inspired by CLOS and the Smalltalk traits paper (always liberally steal the best ideas!).
That is, there's quite a lot of Perl 5 out there that makes extensive use of method modifiers[1] like before, after, around and friends.
1: http://search.cpan.org/dist/Moose/lib/Moose/Manual/MethodModifiers.pod http://search.cpan.org/dist/Moose/lib/Moose/Manual/MethodMod...