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
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/p5-CLASS | 1.00p1 |
| FreeBSD | devel/p5-CLASS | 1.1.8 |
| NetBSD | devel/p5-CLASS | 1.1.8nb3 |
| DragonFly | devel/p5-CLASS | 1.1.8 |
| HardenedBSD | devel/p5-CLASS | 1.1.8 |
| GhostBSD | devel/p5-CLASS | 1.1.8 |
Install
Binary package:
pkg_add p5-CLASS
From the ports tree:
cd /usr/ports/devel/p5-CLASS && make install