Home

The devel/p5-CLASS port

p5-CLASS-1.00p1 – alias for __PACKAGE__ (cvsweb github mirror)

Description

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: https://metacpan.org/release/CLASS

Maintainer

The OpenBSD ports mailing-list

Categories

devel perl5

Files

Search