Aspect...ut::And(3pm)

πŸ“¦
version 1.04 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ NAME ✨

Aspect::Pointcut::And β€” the logical 'and' pointcut, bestie πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

okay so you wanna build one, here's the high-level way (the cute way):

use Aspect;

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

and here's the manual way, if you're feeling ✨artisanal✨ about it:

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

πŸ¦‹ DESCRIPTION πŸ¦‹

Aspect::Pointcut::And is a logical condition, and its whole thing is that it takes smaller conditions and glues them into bigger, higher-order ones. it's giving ✨builder energy✨, no cap.

It takes two or more conditions, and then applies the appropriate logic during the various calculations β€” and the result of all that math is a logical set-wise 'and' result. so like, everything has to line up, periodt πŸ’…


πŸ‘‘ AUTHORS πŸ‘‘

  • Adam Kennedy <adamk@cpan.org>
  • Marcel GrΓΌnauer <marcel@cpan.org>
  • Ran Eilam <eilara@cpan.org>

Copyright 2001 by Marcel GrΓΌnauer

Some parts copyright 2009 - 2013 Adam Kennedy.

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


and that's the whole page, bestie 🫢 this one shipped with perl v5.36.0, dated 2023-07-02 β€” it's an oldie but a goodie, lowkey iconic, fr fr 🌸✨

πŸ“¦ where this page comes from