Skip to content
Sections
>> Trisquel >> Packages >> etiona >> perl >> libnamespace-sweep-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Source: libnamespace-sweep-perl  ]

Package: 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.

Other Packages Related to libnamespace-sweep-perl

  • depends
  • recommends
  • suggests

Download libnamespace-sweep-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 9.0 kB56 kB [list of files]