Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> librelative-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: librelative-perl  ]

套件: 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;

其他與 librelative-perl 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 librelative-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 9.1 kB58 kB [文件列表]