15 lines
172 B
Perl
15 lines
172 B
Perl
|
package type;
|
||
|
|
||
|
use strict;
|
||
|
|
||
|
sub new {
|
||
|
my $proto = shift;
|
||
|
my $class = ref($proto) || $proto;
|
||
|
my $self = {};
|
||
|
bless ($self, $class);
|
||
|
|
||
|
return $self;
|
||
|
}
|
||
|
|
||
|
1;
|