NAME
Perlbug::Tk - perlTk interface to perlbug database - currently placeholder only.
DESCRIPTION
perlTK interface to perlbug database.
SYNOPSIS
use Perlbug::Tk;
my $o_perlbug = Perlbug::Tk->new;
my $result = $o_perlbug->cmd;
print $result; # == 1 (hopefully :-)
METHODS
- new
-
Create new Perlbug::Tk object:
my $pb = Perlbug::Tk->new();
- cmd
-
Call the command line interface:
$o_perlbug->cmd;
- process
-
Processes the command given, gets and truncates the results, calls scroll
- scroll
-
Scroll the available data if necessary.
- pending
-
Return the pending ids from a previous query
- history
-
History mechanism accessor `
- doh
-
Wraps help message
- doH
-
History of commands
- parse_commands
-
Parses the subject and body of the email message into a command hash, hash is placed in $pb->result, returns ref to said hash:
my $h_ref = $pb->parse_commands($sbj, $bdy);
- process_commands
-
Steps through hash created by parse_mail, and executes each outstanding command, so long as the command has been allowed via switches. Returns valid == 1 or error message.
my $outcome = $pb->process_commands($ref_to_hashed_commands);
AUTHOR
Richard Foley perlbug@rfi.net 2000