in reply to Re: Re: Simple OOin thread Simple OO
You're missing some $'s ...
my $wolf=new sheep; print $wolf->bleet()."\n";
--k.
This, and you need ref($proto) not ref{$proto} (parentheses not braces).