Skip to content
Sections
>> Trisquel >> Pakiety >> etiona >> perl >> libclass-load-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Pakiet źródłowy: libclass-load-perl  ]

Pakiet: libclass-load-perl (0.24-1)

module for loading modules by name

"require EXPR" only accepts Class/Name.pm style module names, not Class::Name. For that, Class::Load provides "load_class 'Class::Name'".

It's often useful to test whether a module can be loaded, instead of throwing an error when it's not available. For that, Class::Load provides "try_load_class 'Class::Name'".

Finally, sometimes it is important to know whether a particular class has been loaded. Asking %INC is an option, but that will miss inner packages and any class for which the filename does not correspond to the package name. For that, this module provides "is_class_loaded 'Class::Name'".

Inne pakiety związane z libclass-load-perl

  • wymaga
  • poleca
  • sugeruje

Pobieranie libclass-load-perl

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 13,0 KiB37 KiB [lista plików]