Package Info

perl-Class-Load


Working (Require "Class::Name") and More


Development/Libraries/Perl

'require EXPR' only accepts 'Class/Name.pm' style module names, not 'Class::Name'. How frustrating! For that, we provide '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, we provide 'try_load_class 'Class::Name''.

Finally, sometimes we need 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, we provide 'is_class_loaded 'Class::Name''.


License: Artistic-1.0 OR GPL-1.0-or-later
URL: http://search.cpan.org/dist/Class-Load/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.25-bp156.3.1 info GA Release 2023-07-22 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Class-Load
0.25-bp155.2.12 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Class-Load
0.25-bp154.1.51 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Class-Load
0.24-bp153.1.21 info GA Release 2021-03-05 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Class-Load
0.24-bp152.3.19 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Class-Load
0.24-bp151.3.1 info GA Release 2019-07-16 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Class-Load
0.24-bp151.2.14 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Class-Load
0.24-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Class-Load