| Perlbug documentation | view source | Contained in the Perlbug distribution. |
Perlbug::Object::Bug - Bug class
Perlbug bug class.
For inherited methods, see Perlbug::Object
use Perlbug::Object::Bug;
print Perlbug::Object::Bug->new()->read('19990127.003')->format('a');
Create new Bug object:
my $o_bug = Perlbug::Object::Bug->new();
Object references are returned with most methods, so you can 'chain' the calls:
print $o_bug->read('198700502.007')->format('h');
Generate new_id for perlbug bug
my $new_id = $o_bug->new_id;
Determine if the string contains a valid bug ID.
my ($ok, $tid) = $obj->get_id($str);
html formatter for individual bug entries for placement
my $h_bug = $o_bug->htmlify($h_bug);
See also Perlbug::Object::htmlify()
Update bug via web interface
my $oid = $o_bug->webupdate(\%cgidata, $gid);
Richard Foley perlbug@rfi.net 2000
| Perlbug documentation | view source | Contained in the Perlbug distribution. |