The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

# Perlbug bug record handler
# (C) 1999 Richard Foley RFI perlbug@rfi.net
# $Id: Thing.pm,v 1.6 2001/08/20 18:57:31 mstevens Exp $
#
=head1 NAME
Perlbug::Object::Thing - Thing class
=cut
use strict;
use vars qw($VERSION @ISA);
$VERSION = do { my @r = (q$Revision: 1.6 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
$|=1;
=head1 DESCRIPTION
Perlbug Thing class.
id(14), name(bug), thing(object|attribute|function), description
For inherited methods, see L<Perlbug::Object>
=cut
@ISA = qw(Perlbug::Object);
=head1 SYNOPSIS
use Perlbug::Object::Thing;
my $o_thing = Perlbug::Object::Thing->new();
print $o_thing->read('3')->format('a');
=head1 METHODS
=over 4
=item new
Create new Thing object:
my $o_thing = Perlbug::Object::Thing->new();
=cut
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' => 'Thing',
'from' => [qw()],
'to' => [qw()],
);
bless($self, $class);
}
=pod
=back
=head1 AUTHOR
Richard Foley perlbug@rfi.net 2001
=cut
#
1;