diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-02-16 23:49:30 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-02-16 23:49:30 +0000 |
commit | 44dd5dab0e66038fa09ca77d901a4c7f038fbaa5 (patch) | |
tree | 25e09b1ec76bad24deb01cac69ce1ab6fc9a015e /devel/Makefile | |
parent | 2ae9e19900867633c739a9df5d4738f9e01f6322 (diff) |
This moudles adds self and args keywords in your Perl OO module. It's
really just handy helpers to get rid of:
my $self = shift;
Basically, self is just eqaul to $_[0], and args is just $_[1..$#_].
WWW: http://search.cpan.org/dist/self/
PR: ports/120190
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Notes
Notes:
svn path=/head/; revision=207432
Diffstat (limited to 'devel/Makefile')
-rw-r--r-- | devel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 5a2ea636d3ff..70256bd26fb4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1750,6 +1750,7 @@ SUBDIR += p5-prefork SUBDIR += p5-reaper SUBDIR += p5-rpm-build-perl + SUBDIR += p5-self SUBDIR += p5-subatom SUBDIR += p5-threads SUBDIR += p5-threads-shared |