in reply to Re: Perl 6 OOP: before and after methods "CLOS style"
in thread Perl 6 OOP: before and after methods "CLOS style"

Excellent pointers, Method::Modifiers is very interesting.

The authors hints to this Perl 5 module:

Moose::Manual::MethodModifiers

as his ispiration. So now I know that not only Perl 6 can have before/around/after methods but also Perl 5 has them! I never had the chance to use OOP in Perl 5 (I use it for all my personal scripts when they are not trivial or they have to be cross platform, no big programs so far) but now I'm going to study Moose.

  • Comment on Re^2: Perl 6 OOP: before and after methods "CLOS style"

Replies are listed 'Best First'.
Re^3: Perl 6 OOP: before and after methods "CLOS style"
by raiph (Deacon) on Feb 22, 2017 at 05:33 UTC
    Fyi, there's some really great sounding new stuff in the pipeline from the guy who started Moose and who is now focused on p5-MOP. Here's a recent presentation on p5-MOP. The audio's poor and it's probably way too low level but Stevan's so manic it'll probably be fun to watch a few minutes of it...