NAME

Package::Subroutine::Namespace - naive namespace utilities

SYNOPSIS

  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

DESCRIPTION

list_childs

Class method to list all child namespaces for a given namespace.

delete_childs

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.

AUTHOR

Sebastian Knapp

LICENSE

Perl has a free license, so this module shares it with this programming language.

Copyleft 2006-2009 by Sebastian Knapp <rock@ccls-online.de>