OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

p5-CLASS-1.00p1

alias for __PACKAGE__

Back to search · Project homepage

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.

Package information

Ports path
devel/p5-CLASS
Package architecture
*
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
devel, perl5
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

None listed in sqlports.

Used by (2 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON