-
-
25 Feb 2008 22:46:25 UTC
- Distribution: Devel-Command
- Module version: 0.01
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (701 / 0 / 2)
- Kwalitee
Bus factor: 1- 3.38% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (50.55KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Module::Pluggable
- Test::More
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Devel::Command::HelloWorld - example debugger command extension
SYNOPSIS
# in .perldb: use Devel::Command; sub afterinit { Devel::Command->install; } #In the debugger: DB<1> helloworld Hello, world! DB<2>
DESCRIPTION
Devel::Command::HelloWorld
is an example command plugin for Devel::Command. It demonstrates the basic code needed to implement a command that will automatically be loaded and installed by Devel::Command.IMPLEMENTATION
command
This example command follows the standard way of implmenting a
Devel::Command
command; it subclasses the baseDevel::Command
module, and implements acommand
subroutine. This is all that is necessary forDevel::Command
to find and install the command.This drastically simplifies the code needed to implement a command; as long as a
sub command
is defined, everything else is taken care of automatically.SEE ALSO
perl5db.pl
,Devel::Command
AUTHOR
Joe McMahon, <mcmahon@ibiblio.org>
COPYRIGHT AND LICENSE
Copyright (C) 2005 by Joe McMahon
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
Module Install Instructions
To install Devel::Command, copy and paste the appropriate command in to your terminal.
cpanm Devel::Command
perl -MCPAN -e shell install Devel::Command
For more information on module installation, please visit the detailed CPAN module installation guide.