| 1 |
Source: libclass-load-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: gregor herrmann <[email protected]>, |
| 4 |
Angel Abad <[email protected]> |
| 5 |
Section: perl |
| 6 |
Testsuite: autopkgtest-pkg-perl |
| 7 |
Priority: optional |
| 8 |
Build-Depends: debhelper-compat (= 13) |
| 9 |
Build-Depends-Indep: libdata-optlist-perl, |
| 10 |
libmodule-implementation-perl, |
| 11 |
libmodule-runtime-perl, |
| 12 |
libpackage-stash-perl, |
| 13 |
libtest-fatal-perl, |
| 14 |
libtest-needs-perl, |
| 15 |
libtest-without-module-perl, |
| 16 |
libtry-tiny-perl, |
| 17 |
perl |
| 18 |
Standards-Version: 4.1.5 |
| 19 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libclass-load-perl |
| 20 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libclass-load-perl.git |
| 21 |
Homepage: https://metacpan.org/release/Class-Load |
| 22 |
|
| 23 |
Package: libclass-load-perl |
| 24 |
Architecture: all |
| 25 |
Depends: ${misc:Depends}, |
| 26 |
${perl:Depends}, |
| 27 |
libdata-optlist-perl, |
| 28 |
libmodule-implementation-perl, |
| 29 |
libmodule-runtime-perl, |
| 30 |
libpackage-stash-perl, |
| 31 |
libtry-tiny-perl |
| 32 |
Description: module for loading modules by name |
| 33 |
"require EXPR" only accepts Class/Name.pm style module names, not |
| 34 |
Class::Name. For that, Class::Load provides "load_class 'Class::Name'". |
| 35 |
. |
| 36 |
It's often useful to test whether a module can be loaded, instead of throwing |
| 37 |
an error when it's not available. For that, Class::Load provides |
| 38 |
"try_load_class 'Class::Name'". |
| 39 |
. |
| 40 |
Finally, sometimes it is important to know whether a particular class has |
| 41 |
been loaded. Asking %INC is an option, but that will miss inner packages and |
| 42 |
any class for which the filename does not correspond to the package name. For |
| 43 |
that, this module provides "is_class_loaded 'Class::Name'". |