1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/devel/p5-CLASS/pkg-descr
Cheng-Lung Sung 88caba5c54 Add p5-CLASS 1.00, alias for __PACKAGE__.
PR:		ports/112306
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
2007-05-04 00:48:22 +00:00

10 lines
352 B
Plaintext

CLASS and $CLASS are both synonyms for __PACKAGE__. Easier to type.
$CLASS has the additional benefit of working in strings.
CLASS is a constant, not a subroutine call. $CLASS is a plain
variable, it is not tied. There is no performance loss for using CLASS
over __PACKAGE__ except the loading of the module.
WWW: http://search.cpan.org/dist/CLASS/