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