DB::Pluggable::Constants - Constants for debugger plugin hook methods
package DB::Pluggable::MyUsefulCommand; use DB::Pluggable::Constants ':all'; sub do_it { my ($self, $context, $args) = @_; ... if (...) { ... return HANDLED; } else { return DECLINED; } }
This module defines constants that should be used by hooks as return values. The following constants are defined:
This constant should be returned by a command-related hook method to indicate that it has handled the debugger command.
This constant should be returned by a command-related hook method to indicate that it has not handled the debugger command.
DB::Pluggable's plugin-enabled replacements for the debugger commands use these constants to determine whether a command has been handled by one of the plugins or whether it should be passed on to the default command handler defined in perl5db.pl.
perl5db.pl
If you talk about this module in blogs, on del.icio.us or anywhere else, please use the dbpluggable tag.
dbpluggable
This document describes version 0.01 of DB::Pluggable::Constants.
No bugs have been reported.
Please report any bugs or feature requests to <bug-db-pluggable@rt.cpan.org>, or through the web interface at http://rt.cpan.org.
<bug-db-pluggable@rt.cpan.org
See perlmodinstall for information and options on installing Perl modules.
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://www.perl.com/CPAN/authors/id/M/MA/MARCEL/>.
Marcel Grünauer, <marcel@cpan.org>
<marcel@cpan.org>
Copyright 2007-2008 by Marcel Grünauer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install DB::Pluggable, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DB::Pluggable
CPAN shell
perl -MCPAN -e shell install DB::Pluggable
For more information on module installation, please visit the detailed CPAN module installation guide.