Package::Watchdog::Tracker::Watch - Tracker to track watched subs.
Tracks Package::Watchdog::Sub::Watched objects.
The following accessors methods are automatically generated using Package::Watchdog::Util::build_accessors().
The package being watched.
The default reaction when a forbidden sub is accessed.
The name of this watch.
Called by new(), arguments should be appended to the end of the arguments used w/ new().
Generates a name for the watch. Called by init() when name is not specified.
Watch a specific sub in the watch's package.
FOR INTERNAL USE ONLY
Generates the warning message when a watch is violated.
Issue a warning when a watch is violated.
Runs the custom reaction code when a watch is violated.
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.
To install Package::Watchdog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Package::Watchdog
CPAN shell
perl -MCPAN -e shell install Package::Watchdog
For more information on module installation, please visit the detailed CPAN module installation guide.