Bug#703988: ITP: libnamespace-sweep-perl -- sweeps up imported subs in your classes

Jonas Smedegaard dr at jones.dk
Tue Mar 26 14:19:01 UTC 2013


Package: wnpp
Severity: wishlist
Owner: Jonas Smedegaard <dr at jones.dk>

* Package name    : libnamespace-sweep-perl
  Version         : 0.006
  Upstream Author : Mike Friedman <friedo at friedo.com>
* URL             : http://search.cpan.org/dist/namespace-Sweep/
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : 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.



More information about the pkg-perl-maintainers mailing list