2009/4/14 Zbigniew Lukasiak <zzb...@gmail.com>: > package Role::A; > use Moose::Role; > after 'validate' => sub { > print "Role::A\n"; > }
It's ok, but as far as I remember, with "after" modifier you're return value is totally ignored. Nice explanation you'll find at http://search.cpan.org/perldoc?Class::Method::Modifiers -- .''`. Piotr Roszatycki : :' : mailto:piotr.roszaty...@gmail.com `. `' mailto:dex...@cpan.org `-