NAME
Package::Watchdog::List - List of packages and their subroutines.
DESCRIPTION
Used to maintain consistant lists of packages and subroutines for varying purposes.
- Will prevent duplicate sub listings.
- Will note when all subs in a package should appear in the list
- Generates list of subs from auto-collected( '*' ) and explicitly listed ones.
METHODS
- $self = new( $package1 => $subs1, $package2 => $subs2, ... )
-
Create a new list.
- push( $package, $subs )
-
Add $subs to the list under $package.
- $sublist = subs( $package )
-
Return the list of subs for $package.
- @list = packages()
-
Returns the names of all the packages in the list.
- clear()
-
Empty the list.
- merge_in( $lista, $listb, ... )
-
Merge in all the packages and subs from the specified lists into this list.
- _merge_in( $list )
-
Used by merge_in().
like merge_in() except only takes one list.
- _subs( $package )
-
Same as subs() except that '*' is not expanded to all subs in package.
AUTHORS
- Chad Granum chad@opensourcery.com
COPYRIGHT
Copyright (C) 2009 OpenSourcery, LLC
Package-Watchdog is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Package-Watchdog is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Package-Watchdog is packaged with a copy of the GNU General Public License. Please see docs/COPYING in this distribution.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 19:
'=item' outside of any '=over'
- Around line 25:
You forgot a '=back' before '=head1'