base::ballbase::ball - "b" all the namespaces under the given one(s). | |
Download |
base::ball Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Daniel Muey
- Publisher web site:
- http://search.cpan.org/~dmuey/
base::ball Tags
base::ball Description
base::ball - "b" all the namespaces under the given one(s). base::ball - "b" all the namespaces under the given one(s).SYNOPSIS use base::ball qw(Foo::Utils);equivalent to: use base qw(Foo::Utils); use base qw(Foo::Utils::Data); use base qw(Foo::Utils::UI); use base qw(Foo::Utils::Sys); use base qw(Foo::Utils::Sys::Unix); use base qw(Foo::Utils::Sys::Win32); use base qw(Foo::Utils::Run);Recursively searches the directory that the given name spaces are in to also 'use base' on their "child" name spaces based on any .pm files found and any directories that belong to that .pmIn other words, assuming that the Foo/ that Foo::Utils is in has:Utils/Data.pm, Utils/UI.pm, Utils/Sys.pm, Utils/Sys/Unix.pm, Utils/Sys/Win32.pm, Utils/Run.pmthen the synopsis is correct.Note it does not follow directories who do not firts have a .pm, in other words:Foo/Utils/Whatever/Fiddle.pm will no get Foo:Utils::Whatever::Fiddle as base unless Foo/Utils/Whatever.pm exists (and therefore Foo::Utils::Whatever is a base)This is by design for good reasons and given enough popular demand may lead to support for it. Requirements: · Perl
base::ball Related Software