ports/100655: [NEW PORT] devel/p5-Class-Accessor-Named: Better profiling output for Class::Accessor

Gea-Suan Lin gslin at gslin.org
Fri Jul 21 07:00:39 UTC 2006


>Number:         100655
>Category:       ports
>Synopsis:       [NEW PORT] devel/p5-Class-Accessor-Named: Better profiling output for Class::Accessor
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 21 07:00:37 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD Netflow.csie.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon May 22 16:22:37 CST 2006
>Description:
Class::Accessor is a great way to automate the tedious task of
generating accessors and mutators. One small drawback is that due to
the details of the implemenetation, you only get one __ANON__ entry in
profiling output. That entry contains all your accessors, which can be
a real pain if you're attempting to figure out which of your accessors
is being called six billion times. This module is a development aid
which uses Hook::LexWrap and Sub::Name to talk your accessors into
identifying themselves. While it shouldn't add much additional runtime
overhead (as it acts only Class::Accessor's generator functions), it
has not been designed for production deployment.

WWW:	http://search.cpan.org/dist/Class-Accessor-Named/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Class-Accessor-Named-0.003.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Class-Accessor-Named
#	p5-Class-Accessor-Named/pkg-descr
#	p5-Class-Accessor-Named/Makefile
#	p5-Class-Accessor-Named/pkg-plist
#	p5-Class-Accessor-Named/distinfo
#
echo c - p5-Class-Accessor-Named
mkdir -p p5-Class-Accessor-Named > /dev/null 2>&1
echo x - p5-Class-Accessor-Named/pkg-descr
sed 's/^X//' >p5-Class-Accessor-Named/pkg-descr << 'END-of-p5-Class-Accessor-Named/pkg-descr'
XClass::Accessor is a great way to automate the tedious task of
Xgenerating accessors and mutators. One small drawback is that due to
Xthe details of the implemenetation, you only get one __ANON__ entry in
Xprofiling output. That entry contains all your accessors, which can be
Xa real pain if you're attempting to figure out which of your accessors
Xis being called six billion times. This module is a development aid
Xwhich uses Hook::LexWrap and Sub::Name to talk your accessors into
Xidentifying themselves. While it shouldn't add much additional runtime
Xoverhead (as it acts only Class::Accessor's generator functions), it
Xhas not been designed for production deployment.
X
XWWW:	http://search.cpan.org/dist/Class-Accessor-Named/
END-of-p5-Class-Accessor-Named/pkg-descr
echo x - p5-Class-Accessor-Named/Makefile
sed 's/^X//' >p5-Class-Accessor-Named/Makefile << 'END-of-p5-Class-Accessor-Named/Makefile'
X# New ports collection makefile for:	p5-Class-Accessor-Named
X# Date created:		2006-07-21
X# Whom:			Gea-Suan Lin <gslin at gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Class-Accessor-Named
XPORTVERSION=	0.003
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Class
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	gslin at gslin.org
XCOMMENT=	Better profiling output for Class::Accessor
X
XRUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Sub/Name.pm:${PORTSDIR}/devel/p5-Sub-Name \
X		${SITE_PERL}/Hook/LexWrap.pm:${PORTSDIR}/devel/p5-Hook-LexWrap \
X		${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-require
XBUILD_DEPENDS=	${RUN_DEPENDS} \
X		${SITE_PERL}/Test/Dependencies.pm:${PORTSDIR}/devel/p5-Test-Dependencies
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Class::Accessor::Named.3
X
X.include <bsd.port.pre.mk>
X.include <bsd.port.post.mk>
END-of-p5-Class-Accessor-Named/Makefile
echo x - p5-Class-Accessor-Named/pkg-plist
sed 's/^X//' >p5-Class-Accessor-Named/pkg-plist << 'END-of-p5-Class-Accessor-Named/pkg-plist'
X at comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Accessor/Named/.packlist
X%%SITE_PERL%%/Class/Accessor/Named.pm
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Accessor/Named
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Accessor
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class
X at dirrmtry %%SITE_PERL%%/Class/Accessor
X at dirrmtry %%SITE_PERL%%/Class
END-of-p5-Class-Accessor-Named/pkg-plist
echo x - p5-Class-Accessor-Named/distinfo
sed 's/^X//' >p5-Class-Accessor-Named/distinfo << 'END-of-p5-Class-Accessor-Named/distinfo'
XMD5 (Class-Accessor-Named-0.003.tar.gz) = b9ccdee399819d2e5c944933ac2ff110
XSHA256 (Class-Accessor-Named-0.003.tar.gz) = fae494fed78435221346a531189bb95be592953df4d6fd192c5f31ac0e5adcef
XSIZE (Class-Accessor-Named-0.003.tar.gz) = 20744
END-of-p5-Class-Accessor-Named/distinfo
exit
--- p5-Class-Accessor-Named-0.003.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list