The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Perlbug::Object::Bug - Bug class

DESCRIPTION

Perlbug bug class.

For inherited methods, see Perlbug::Object

SYNOPSIS

        use Perlbug::Object::Bug;

        print Perlbug::Object::Bug->new()->read('19990127.003')->format('a');

METHODS

new

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'); 
new_id

Generate new_id for perlbug bug

        my $new_id = $o_bug->new_id;
get_id

Determine if the string contains a valid bug ID.

    my ($ok, $tid) = $obj->get_id($str);
htmlify

html formatter for individual bug entries for placement

    my $h_bug = $o_bug->htmlify($h_bug);

See also Perlbug::Object::htmlify()

webupdate

Update bug via web interface

        my $oid = $o_bug->webupdate(\%cgidata, $gid);

AUTHOR

Richard Foley perlbug@rfi.net 2000