Perlbug::Object::Bug - Bug class


Perlbug documentation  | view source Contained in the Perlbug distribution.

Index


NAME

Top

Perlbug::Object::Bug - Bug class

DESCRIPTION

Top

Perlbug bug class.

For inherited methods, see Perlbug::Object

SYNOPSIS

Top

	use Perlbug::Object::Bug;

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

METHODS

Top

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

Top

Richard Foley perlbug@rfi.net 2000


Perlbug documentation  | view source Contained in the Perlbug distribution.