Package::Subroutine::Namespace - naive namespace utilities
use Package::Subroutine::Namespace; # shortcut my $ns = bless \my $v, 'Package::Subroutine::Namespace'; print "$_\n" for $ns->list_childs('Package::Subroutine'); # should print at least: Namespace $ns->delete_childs('Package::Subroutine','Namespace'); # deletes sub namespaces, but keeps the Namespace module intact
Class method to list all child namespaces for a given namespace.
Deletes sub namespaces from a namespace, takes an optional list namespace names which are saved from extinction.
Removing is done simply with builtin delete function.
Sebastian Knapp
Perl has a free license, so this module shares it with this programming language.
Copyleft 2006-2009 by Sebastian Knapp <rock@ccls-online.de>
To install Package::Subroutine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Package::Subroutine
CPAN shell
perl -MCPAN -e shell install Package::Subroutine
For more information on module installation, please visit the detailed CPAN module installation guide.