libclass-load-perl

module for loading modules by name

Description

"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'".

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Class-Load


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libclass-load-perl