NAME

Devel::StashHook - Callbacks for changes to a packages symbol table

SYNOPSIS

    use Devel::StashHook {
	'Package1' => sub { ... },
	'MyApp::Controller::Root' => \&hook,
    };

    sub hook {
	use Data::Dumper;
	warn Dumper([@_]);
    }

DESCRIPTION

This module provides the ability to have callbacks on addition, modification and removal of symbols from a package.

NB: this module depends on uvar magic that was introduced in Perl 5.10

VERSION

Version 0.01_001

METHODS

import

Expects a hashref of package names as keys and code refs as variables

AUTHOR

Scott McWhirter, <konobi at cpan.org>

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Devel::StashHook

You can also look for information at:

Commercial support is available for this module from Cloudtone Studios:

http://www.cloudtone.ca/

COPYRIGHT & LICENSE

Copyright 2008 Scott McWhirter, all rights reserved.

This program is released under the following license: BSD