summaryrefslogtreecommitdiff
path: root/testWorkspace/MyLib/MyClass.pm
blob: 810751da9bdb54a3bbed61ae19e9fa4af683183e (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
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";
}

1;