package Aspect::Pointcut::NotOp; use strict; use warnings; use Carp; our $VERSION = '0.13'; use base 'Aspect::Pointcut'; sub init { shift->{op} = pop } sub match_define { my ($self, $sub_name) = @_; return !$self->{op}->match_define($sub_name); } sub match_run { my ($self, $sub_name) = @_; return !$self->{op}->match_run($sub_name); } 1; __END__ =head1 NAME Aspect::Pointcut::NotOp - Logical 'not' operation pointcut =head1 SYNOPSIS Aspect::Pointcut::NotOp->new; =head1 DESCRIPTION None yet. =head1 BUGS AND LIMITATIONS No bugs have been reported. Please report any bugs or feature requests through the web interface at L. =head1 INSTALLATION See perlmodinstall for information and options on installing Perl modules. =head1 AVAILABILITY The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit to find a CPAN site near you. Or see . =head1 AUTHORS Marcel GrEnauer, C<< >> Ran Eilam C<< >> =head1 COPYRIGHT AND LICENSE Copyright 2001 by Marcel GrEnauer This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut