debian man page for aspect::point::functions

Query: aspect::point::functions

OS: debian

Section: 3pm

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

Aspect::Point::Functions(3pm)				User Contributed Perl Documentation			     Aspect::Point::Functions(3pm)

NAME
Aspect::Point::Functions - Allow point context methods to be called as functions
SYNOPSIS
use Aspect::Point::Functions; # This code is equivalent to the SYNOPSIS for Aspect::Point my $advice_code = sub { print type; # The advice type ('before') print pointcut; # The matching pointcut ($pointcut) print enclosing; # Access cflow pointcut advice context print sub_name; # The full package_name::sub_name print package_name; # The package name ('Person') print short_name; # The sub name (a get or set method) print self; # 1st parameter to the matching sub print (args)[1]; # 2nd parameter to the matching sub original->( x => 3 ); # Call matched sub independently return_value(4) # Set the return value };
DESCRIPTION
In the AspectJ toolkit for Java which Aspect is inspired by, the join point context information is retrieved through certain keywords. In Aspect this initially proved too difficult to achieve without heavy source code rewriting, and so an alternative approach was taken using a topic object and methods. This experimental package attempts to implement the original function/keyword style of call. It is considered unsupported at this time.
AUTHORS
Adam Kennedy <adamk@cpan.org>
COPYRIGHT
Copyright 2011 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::Point::Functions(3pm)
Related Man Pages
aspect::advice(3pm) - debian
aspect::library::singleton(3pm) - debian
aspect::modular(3pm) - debian
aspect::pointcut(3pm) - debian
moosex::storage::format::yaml(3pm) - debian
Similar Topics in the Unix Linux Community
cannot print from an application but, i can print from others?
3 homework questions (thread closed)
Floating Point
Perl - use search keywords from array and search a file and print 3rd field when matched