Aspect::Pointcut::Returning - Function returning without exception
use Aspect; # Don't trap Foo::Exception object exceptions after { $_->return_value(1) } call 'Foo::bar' & returning;
The Aspect::Pointcut::Returning pointcut is used to match situations in which after advice should NOT run when the function is throwing an exception.
after
Adam Kennedy <adamk@cpan.org>
Copyright 2009 - 2012 Adam Kennedy.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Aspect, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Aspect
CPAN shell
perl -MCPAN -e shell install Aspect
For more information on module installation, please visit the detailed CPAN module installation guide.