libclass-perl - module providing aliases for __PACKAGE__

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libclass-perl
Package version: 1.00
Package release: 2
Package architecture: all
Package type: deb
Installed size: 43 B
Download size: 6.13 KB
Official Mirror:
CLASS is a minimalistic Perl module that simply provides aliases for the special literal, __PACKAGE__, which represents the current package name at that point during program execution. The aliases are mapped at compile-time, so there is no performance hit except for compilation of the module itself. This module ensures that CLASS and $CLASS can be used anywhere in place of __PACKAGE__, and since $CLASS is a scalar, it has the additional benefit of working in strings.




    Source package: libclass-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libclass-perl deb package:
      # sudo apt-get install libclass-perl


    • /usr/share/doc/libclass-perl/changelog.Debian.gz
    • /usr/share/doc/libclass-perl/changelog.gz
    • /usr/share/doc/libclass-perl/copyright
    • /usr/share/man/man3/CLASS.3pm.gz
    • /usr/share/perl5/


    2013-01-23 - Xavier Guimard <> libclass-perl (1.00-2) unstable; urgency=low [ Jonathan Yu ] * Add myself to Uploaders and Copyright * Rewrote control description * Use new 3.0 (quilt) source format [ Xavier Guimard ] * Update debian/copyright (years and format) and add Berne Convention comment * Bump Standards-Version to 3.9.4 * Bump debhelper compatibility to 8 * Add Vcs-* fields

    2010-04-24 - Ivan Kohler <> libclass-perl (1.00-1) unstable; urgency=low [ Jeremiah C. Foster ] * Packaging, license research and initial TODO (all the hard work). [ Ivan Kohler ] * debian/control: + Add myself to Uploaders: + Standards-Version 3.8.4 + Rework descriptions as noun phrases * Initial Release. (Closes: Bug#566729)