NAME
Perlbug::Interface::Cmd - Command line interface to perlbug database.
DESCRIPTION
Command line interface to perlbug database.
SYNOPSIS
use Perlbug::Interface::Cmd;
my $o_perlbug = Perlbug::Interface::Cmd->new;
my $result = $o_perlbug->cmd;
print $result; # == 1 (hopefully :-)
METHODS
- new
-
Create new Perlbug::Interface::Cmd object:
my $pb = Perlbug::Interface::Cmd->new();
- opt
-
Command line arguments (if any) supplied to script
print "verbose requested\n" if $o_cmd->opt('v');
- cmd
-
Call the command line interface:
$o_perlbug->cmd;
- process
-
Processes the command given, gets and truncates the results, calls scroll
my @res = $o_cmd->process($line); # internally printed!
- input2args
-
Handles command-line, calls SUPER::input2args()
my $args = $o_cmd->input2args($cmd, $args);
- scroll
-
Scroll the available data if necessary.
- history
-
History mechanism accessor
my @history = $o_cmd->history($i_index, $cmd);
- spec
-
Return specification
- doh
-
Wraps and extends help message
- doH
-
History of commands
AUTHOR
Richard Foley perlbug@rfi.net 2000 2001