Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> 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 [文件列表]