Aspect...::True(3pm)
π Aspect...::True(3pm) π
okay so bestie, welcome to the manual page for Aspect::Pointcut::True, straight out of the User Contributed Perl Documentation collection. it's giving pointcut energy, it's giving runtime magic, and honestly? it ate. π
β¨ NAME β¨
Aspect::Pointcut::True β a pointcut that lets you run arbitrary Perl code. no cap, that's literally the whole vibe. π¦
πΈ SYNOPSIS πΈ
use Aspect;
# High-level creation
my $pointcut1 = true { rand() > 0.5 };
# Manual creation
my $pointcut2 = Aspect::Pointcut::True->new(
sub { rand() > 0.5 }
);
π DESCRIPTION π
okay so here's the tea: Aspect's weaving phase technically happens at run-time β like, relative to the whole overall process β which means it does NOT have to limit itself to only conditions that are fully describable at compile-time. it's free. it's unbothered. π
Aspect::Pointcut::True lets you ride that wave and cook up your own custom run-time pointcut conditions. custom conditions, bestie, exactly how you like them. β¨
but listen β for safety and purity reasons you are NOT permitted to create custom conditions that interact with the Aspect::Point object for the call. that's a hard no, and we respect the boundary. π
π AUTHORS π
the icons who made this happen, periodt:
- Adam Kennedy
<adamk@cpan.org> - Marcel GrΓΌnauer
<marcel@cpan.org> - Ran Eilam
<eilara@cpan.org>
π COPYRIGHT π
- 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. π«Ά
perl v5.36.0 Β· 2023-07-02 β mwah, that's the version and the date, and that's a wrap bestie! stay slaying, stay weaving, and remember: runtime pointcuts are your main character era. πβ¨ππ¦π
π¦ where this page comes from
- debian trixie: libaspect-perl 1.04-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libaspect-perl 1.04-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libaspect-perl 1.04-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libaspect-perl 1.04-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms