use strict; my $foo = sample->new; print $foo; #### use strict; my $foo = sample->new; print ref $foo;