Jump to letter: [
346ABCDEFGHIJKLMNOPQRSTUVWXYZ
]
perl-Class-Load - A working (require "Class::Name") and more
- Description:
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'.
Packages
perl-Class-Load-0.10-1.el6.noarch
[21 KiB] |
Changelog
by Paul Howarth (2011-09-06):
- Update to 0.10:
- Fix is_class_loaded to ignore $ISA (but still look for @ISA) when trying to
determine whether a class is loaded
- Lots of internals cleanup
- BR: perl(Package::Stash) ≥ 0.32 and perl(Try::Tiny)
- Update patches to apply cleanly
|