libnamespace-sweep-perl - sweeps up imported subs in your classes

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libnamespace-sweep-perl
Package version: 0.006
Package release: 2
Package architecture: all
Package type: deb
Installed size: 55 B
Download size: 10.94 KB
Official Mirror:
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.



    Source package: libnamespace-sweep-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libnamespace-sweep-perl deb package:
      # sudo apt-get install libnamespace-sweep-perl


    • /usr/share/doc/libnamespace-sweep-perl/README
    • /usr/share/doc/libnamespace-sweep-perl/buildinfo_all.gz
    • /usr/share/doc/libnamespace-sweep-perl/changelog.Debian.gz
    • /usr/share/doc/libnamespace-sweep-perl/copyright
    • /usr/share/man/man3/namespace::sweep.3pm.gz
    • /usr/share/perl5/namespace/


    2013-08-30 - Jonas Smedegaard <> libnamespace-sweep-perl (0.006-2) unstable; urgency=low * Add README.source emphasizing file as *not* a show-stopper for contributions, referring to wiki page for details. * Fix stop (build-)depending on libscalar-list-utils-perl: Provided by perl(-modules).

    2013-03-26 - Jonas Smedegaard <> libnamespace-sweep-perl (0.006-1) unstable; urgency=low * Initial packaging release. Closes: bug#703988.