librelative-perl

Load modules with relative names

Description

This module allows you to load modules using only parts of their name, relatively to the current module or to a given module. Module names are by default searched below the current module, but can be searched upper in the hierarchy using the ..:: syntax.

In order to further loosen the namespace coupling, import returns the full names of the loaded modules, making object-oriented code easier to write:

   use relative;

   my ($Maker, $Publisher) = import relative qw(Create Publish);
   my $report = $Maker->new;
   my $publisher = $Publisher->new;

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/relative


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 librelative-perl