| Perlbug documentation | Contained in the Perlbug distribution. |
Perlbug::Object::Note - Note class
Perlbug note class.
For inherited methods, see Perlbug::Object::Object
use Perlbug::Object::Note;
my $o_note = Perlbug::Object::Note->new();
print $o_note->read('503')->format('a');
Create new Note object:
my $o_note = Perlbug::Object::Note->new();
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;