BSD Ports

devel/p5-CLASS 1.00p1 OpenBSD

alias for __PACKAGE__

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, perl5

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.

In the other systems

SystemPortVersion
OpenBSDdevel/p5-CLASS1.00p1
FreeBSDdevel/p5-CLASS1.1.8
NetBSDdevel/p5-CLASS1.1.8nb3
DragonFlydevel/p5-CLASS1.1.8
HardenedBSDdevel/p5-CLASS1.1.8
GhostBSDdevel/p5-CLASS1.1.8

Install

Binary package:

pkg_add p5-CLASS

From the ports tree:

cd /usr/ports/devel/p5-CLASS && make install

Dependencies