RECENT POSTS

P5-class

May 26, 2018

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.

WWW http//search.cpan.org/dist/CLASS/