98d153478b
Sub::Current makes available a function ROUTINE(), that returns a code reference pointing at the currently executing subroutine. In a special block (BEGIN, END, CHECK, INIT, and UNITCHECK in Perl 5.10) this function will return undef. Outside of a special block (that is, at the top level of a program) ROUTINE() will return undef as well. WWW: http://search.cpan.org/dist/Sub-Current/
22 lines
414 B
Makefile
22 lines
414 B
Makefile
# New ports collection makefile for: p5-Sub-Current
|
|
# Date created: 2008/08/30
|
|
# Whom: chinsan
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Sub-Current
|
|
PORTVERSION= 0.02
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= ../by-authors/id/R/RG/RGARCIA
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= chinsan@FreeBSD.org
|
|
COMMENT= Get the current subroutine
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Sub::Current.3
|
|
|
|
.include <bsd.port.mk>
|