NAME

Aspect::Pointcut::Wantarray - A pointcut for the wantarray call context

SYNOPSIS

use Aspect;

# Catch events in all three contexts
my $pointcut = wantlist & wantscalar & wantvoid;

DESCRIPTION

The Aspect::Pointcut::Wantarray pointcut allows the creation of aspects that only trap calls made in a particular context (list, scalar or void).

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests through the web interface at http://rt.cpan.org.

AUTHORS

Adam Kennedy <adamk@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2010 Adam Kennedy.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.