ITP: libnamespace-clean-perl -- Perl module for keeping imports and functions out of the current namespace
Package: wnpp
Severity: wishlist
Owner: Alexis Sukrieh <sukria@sukria.net>
* Package name : libnamespace-clean-perl
Version : 0.05
Upstream Author : Robert 'phaylon' Sedlacek <rs@474.at>
* URL :http://search.cpan.org/~phaylon/namespace-clean-0.05/lib/namespace/clean.pm
* License : Artistic Licence
Programming Lang: Perl
Description : Perl module for keeping imports and functions out of the current namespace
When you define a function, or import one, into a Perl package, it will
naturally also be available as a method. This does not per se cause problems,
but it can complicate subclassing and, for example, plugin classes that are
included via multiple inheritance by loading them as base classes.
The namespace::clean pragma will remove all previously declared or imported
symbols at the end of the current package's compile cycle. Functions called in
the package itself will still be bound by their name, but they won't show up as
methods on your class or instances.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-vserver-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Reply to: