1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
Source: librelative-perl
Section: perl
Priority: optional
Build-Depends: debhelper (>= 5), libmodule-build-perl
Build-Depends-Indep: perl (>= 5.6.10-12), libuniversal-require-perl, libtest-pod-perl, libtest-pod-coverage-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Edi Stojicevic <estojicevic@debianworld.org>
Standards-Version: 3.7.3
Homepage: http://search.cpan.org/dist/relative/
Package: librelative-perl
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends}, libuniversal-require-perl
Description: Load modules with relative names
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;
|