FreeBSD.software
Home/devel/p5-CLASS

p5-CLASS

1.1.8

Alias for __PACKAGE__

[BCLASS 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.

Origin: devel/p5-CLASS
Category: devel
Size: 9.65KiB
License: ART10, GPLv1+
Maintainer: sunpoet@FreeBSD.org
Dependencies: 1 packages
Required by: 0 packages
$pkg install p5-CLASS

Dependencies (1)

More in devel