Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> perl >> libnamespace-sweep-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libnamespace-sweep-perl  ]

软件包: libnamespace-sweep-perl (0.006-2)

sweeps up imported subs in your classes

Because Perl methods are just regular subroutines, it's difficult to tell what's a method and what's just an imported function. As a result, imported functions can be called as methods on your objects.

The namespace::sweep pragma will delete imported functions from your class's symbol table, thereby ensuring that your interface is as you specified it. However, code inside your module will still be able to use the imported functions without any problems.

其他与 libnamespace-sweep-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 libnamespace-sweep-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 9.0 kB56 kB [文件列表]