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

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

πŸ’– NAME πŸ’–

Aspect::Pointcut::Or β€” it's the logical 'or' pointcut, bestie πŸ’… (this is the Aspect...ut::Or(3pm) page, don't let the truncated header fool you, she's just shy)


πŸŽ€ SYNOPSIS πŸŽ€

okay so first you gotta pull in Aspect:

  use Aspect;

then you can build your pointcut the glow-up way, or the DIY way:

  # 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'),
  );

πŸ’… DESCRIPTION πŸ’…

So here's the tea πŸ“ β€” Aspect::Pointcut::And is a logical condition, and it's what you use to build up higher-order conditions out of smaller little baby conditions. It's giving ✨mix-and-match✨ but make it logic.

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

πŸ’€ not me pointing out that this page is the Or pointcut and the description goes and says Aspect::Pointcut::And β€” that's what the doc says, i'm not editing it, i don't make the rules, i just report them πŸ™ˆ

πŸ‘‘ AUTHORS πŸ‘‘

the icons who made this happen 🫢

  • 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. so basically slay responsibly πŸ’–


and that's the whole page bestie, mwah πŸ’‹ β€” this little legend was served to you by perl v5.36.0 and dated 2023-07-02, so if you're reading this from the future, hey, the vibes still hold βœ¨πŸ¦‹

πŸ“¦ where this page comes from