Skip to content
Sections
>> Trisquel >> Pakete >> nabia >> perl >> librelative-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Quellcode: librelative-perl  ]

Paket: librelative-perl (0.04-2)

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;

Andere Pakete mit Bezug zu librelative-perl

  • hängt ab von
  • empfiehlt
  • schlägt vor

librelative-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 9,1 kB58 kB [Liste der Dateien]