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

extend SUPER::update with notify_cc (of changes)

new_id

Return valid new object id for bug, wrapper for base->new_id

my $new_oid = $o_bug->new_id

# =cut redundant

sub new_id { my $self = shift;

my $newid = $self->base->new_id;	

return $newid;
}
insertid

Returns newly inserted id from recently created object.

my $new_oid = $o_obj->insertid();
htmlify

html formatter for individual bug entries for placement

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

See also Perlbug::Object::htmlify()

FORMATS

Bug formatters for all occasions...

FORMAT_l

Lean (list) ascii format for bugs:

my ($top, $format, @args) = $o_bug->FORMAT_l(\%data);
FORMAT_a

Default ascii format

my ($top, $format, @args) = $o_bug->FORMAT_a(\%data);
FORMAT_B_A

Default ASCII format for bugs:

my ($top, $format, @args) = $o_bug->FORMAT_A(\%data);
FORMAT_L

Lean html format for bugs:

my ($top, $format, @args) = $o_bug->FORMAT_L(\%data);
FORMAT_h

html format for bugs:

my ($top, $format, @args) = $o_bug->FORMAT_h(\%data);
FORMAT_H

HTML format for bugs:

my ($top, $format, @args) = $o_bug->FORMAT_H(\%data);
new_id

Generate new_id for perlbug - YUK

get_id

Determine if the string contains a valid bug ID.

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

AUTHOR

Richard Foley perlbug@rfi.net 2000

4 POD Errors

The following errors were encountered while parsing the POD:

Around line 44:

'=item' outside of any '=over'

Around line 221:

You forgot a '=back' before '=head1'

Around line 226:

'=item' outside of any '=over'

Around line 632:

You forgot a '=back' before '=head1'