Skip to content
Sections
>> Trisquel >> Paket >> etiona >> perl >> libclass-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Källkod: libclass-perl  ]

Paket: libclass-perl (1.00-2)

module providing aliases for __PACKAGE__

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.

Andra paket besläktade med libclass-perl

  • beror
  • rekommenderar
  • föreslår
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Hämta libclass-perl

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 5,6 kbyte42 kbyte [filförteckning]