DB::Pluggable::Constants - Constants for debugger plugin hook methods
version 1.101051
package DB::Pluggable::MyUsefulCommand; use DB::Pluggable::Constants ':all'; sub do_it { my ($self, $context, $args) = @_; # ... if ("some condition") { # ... 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
See perlmodinstall for information and options on installing Perl modules.
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.
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.
Marcel Gruenauer <marcel@cpan.org>
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.
To install DB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DB
CPAN shell
perl -MCPAN -e shell install DB
For more information on module installation, please visit the detailed CPAN module installation guide.