| Perlbug documentation | Contained in the Perlbug distribution. |
Perlbug::Object::Status - bug status handler
Perlbug bug status class.
For inherited methods, see Perlbug::Object
use Perlbug::Object::Status; my $o_Status = Perlbug::Object::Status->new(); print $o_Status->selector;
Create new Status object:
my $o_Status = Perlbug::Object::status->new();
Richard Foley perlbug@rfi.net 2001
| Perlbug documentation | Contained in the Perlbug distribution. |
# Perlbug bug record handler # (C) 1999 Richard Foley RFI perlbug@rfi.net # $Id: Status.pm,v 1.11 2001/10/19 12:40:21 richardf Exp $ #
package Perlbug::Object::Status; use strict; use vars qw($VERSION @ISA); $VERSION = do { my @r = (q$Revision: 1.11 $ =~ /\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' => 'Status', 'from' => [qw(bug)], 'prejudicial' => '1', 'to' => [], ); bless($self, $class); }
# 1;