logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Aspect::Pointcut::Or - Logical 'or' pointcut

Authors

       Adam Kennedy <adamk@cpan.org>

       Marcel Grünauer <marcel@cpan.org>

       Ran Eilam <eilara@cpan.org>

Description

Aspect::Pointcut::And is a logical condition, which is used to create higher-order conditions from
       smaller parts.

       It takes two or more conditions, and applies appropriate logic during the various calculations that
       produces a logical set-wise 'and' result.

Name

       Aspect::Pointcut::Or - Logical 'or' pointcut

Synopsis

         use Aspect;

         # High-level creation
         my $pointcut1 = call 'one' | call 'two' | call 'three';

         # Manual creation
         my $pointcut2 = Aspect::Pointcut::Or->new(
             Aspect::Pointcut::Call->new('one'),
             Aspect::Pointcut::Call->new('two'),
             Aspect::Pointcut::Call->new('three'),
         );

See Also