debian man page for aspect::pointcut::true

Query: aspect::pointcut::true

OS: debian

Section: 3pm

Links: debian man pages | All man pages

Forums: Unix Linux Community | Forum Categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Aspect::Pointcut::True(3pm)				User Contributed Perl Documentation			       Aspect::Pointcut::True(3pm)

NAME
Aspect::Pointcut::True - Pointcut that allows arbitrary Perl code
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
Because Aspect's weaving phase technically occurs at run-time (relative to the overall process) it does not need to be limit itself only to conditions that are fully describable at compile-time. Aspect::Pointcut::True allows you to take advantage of this to create your own custom run-time pointcut conditions, although for safety and purity reasons you are not permitted to create custom conditions that interact with the Aspect::Point object for the call.
AUTHORS
Adam Kennedy <adamk@cpan.org> Marcel Gruenauer <marcel@cpan.org> Ran Eilam <eilara@cpan.org>
COPYRIGHT
Copyright 2001 by Marcel Gruenauer Some parts copyright 2009 - 2012 Adam Kennedy. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-02-01 Aspect::Pointcut::True(3pm)
Related Man Pages
aspect::library::singleton(3pm) - debian
aspect::library::wormhole(3pm) - debian
aspect::pointcut(3pm) - debian
file::homedir::unix(3pm) - debian
padre::plugin::parsertool(3pm) - debian
Similar Topics in the Unix Linux Community
How can I do this in VI editor?
Is UNIX an open source OS ?
One instance of comparing grep and awk
Weird 'find' results
My first PERL incarnation... Audio Oscillograph