Devel::InnerPackage man page on Peanut

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
Peanut logo
[printable version]

Devel::InnerPackage(3) Perl Programmers Reference Guide Devel::InnerPackage(3)

NAME
       Devel::InnerPackage - find all the inner packages of a package

SYNOPSIS
	   use Foo::Bar;
	   use Devel::innerPackage qw(list_packages);

	   my @inner_packages = list_packages('Foo::Bar');

DESCRIPTION
       Given a file like this

	   package Foo::Bar;

	   sub foo {}

	   package Foo::Bar::Quux;

	   sub quux {}

	   package Foo::Bar::Quirka;

	   sub quirka {}

	   1;

       then

	   list_packages('Foo::Bar');

       will return

	   Foo::Bar::Quux
	   Foo::Bar::Quirka

METHODS
       list_packages <package name>

       Return a list of all inner packages of that package.

AUTHOR
       Simon Wistow <simon@thegestalt.org>

COPYING
       Copyright, 2005 Simon Wistow

       Distributed under the same terms as Perl itself.

BUGS
       None known.

perl v5.10.0			  2007-12-18		Devel::InnerPackage(3)
[top]

List of man pages available for Peanut

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net