Perlbug::Object::Note - Note class


Perlbug documentation Contained in the Perlbug distribution.

Index


Code Index:

NAME

Top

Perlbug::Object::Note - Note class

DESCRIPTION

Top

Perlbug note class.

For inherited methods, see Perlbug::Object::Object

SYNOPSIS

Top

	use Perlbug::Object::Note;

	my $o_note = Perlbug::Object::Note->new();

	print $o_note->read('503')->format('a');




METHODS

Top

new

Create new Note object:

	my $o_note = Perlbug::Object::Note->new();

AUTHOR

Top

Richard Foley perlbug@rfi.net 2000


Perlbug documentation Contained in the Perlbug distribution.
# Perlbug bug record handler
# (C) 1999 Richard Foley RFI perlbug@rfi.net
# $Id: Note.pm,v 1.19 2002/01/11 13:51:05 richardf Exp $
#

package Perlbug::Object::Note;
use strict;
use vars qw($VERSION @ISA);
$VERSION = do { my @r = (q$Revision: 1.19 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; 
$|=1;


use Data::Dumper;
use Perlbug::Base;
use Perlbug::Object;
@ISA = qw(Perlbug::Object);


sub new {
    my $proto = shift;
    my $class = ref($proto) || $proto; 
	my $o_base = (ref($_[0])) ? shift : Perlbug::Base->new;

	my $self = Perlbug::Object->new( $o_base, 
		'name'		=> 'note',
		'from'		=> [qw(bug)],
		'to'		=> [qw()],
	);

	bless($self, $class);
}



# 
1;