blob: a2294208c13243b8814c6278640f40dd89eae580 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package MyLib::MyClass;
use strict;
use warnings;
use Data::Dumper qw(Dumper);
sub new {
my $class = shift;
print "In MyClass->new()\n";
return bless {}, $class;
}
sub overridden_method {
my $self = shift;
print "In overridden_method from MyClass\n";
}
sub inherited_method {
print "In inherited_method\n";
}
sub duplicate_method_name {
print "In MyObject duplicate_name\n";
}
my $genWarning;
my $genWarning;
1;
|