NAME
DB::Pluggable::Plugin - Base classes for DB::Pluggable plugins
VERSION
version 1.101050
SYNOPSIS
package DB::Pluggable::MyCommand;
use strict;
use warnings;
use base 'DB::Pluggable::Plugin';
sub register {
my ($self, $context) = @_;
$self->make_command(
Th => sub {
# ...
}
);
}
DESCRIPTION
This is a base class for plugins for DB::Pluggable. Plugins should inherit from it, so if we later add some basic functionality to this class, we don't have to rewrite the plugins.
METHODS
make_command
Takes a command name string and a code reference and makes a new debugger command. It abuses the debugger's alias mechanism to do so.
INSTALLATION
See perlmodinstall for information and options on installing Perl modules.
BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=DB-Pluggable.
AVAILABILITY
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see http://search.cpan.org/dist/DB-Pluggable/.
The development version lives at http://github.com/hanekomu/DB-Pluggable/. Instead of sending patches, please fork this project using the standard git and github infrastructure.
AUTHOR
Marcel Gruenauer <marcel@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2008 by Marcel Gruenauer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.