in reply to Re: Re: Simple OO
in thread Simple OO

You're missing some $'s ...

my $wolf=new sheep;
print $wolf->bleet()."\n";

    --k.


Replies are listed 'Best First'.
Re: Re: Re: Re: Simple OO
by djantzen (Priest) on Feb 12, 2002 at 07:14 UTC

    This, and you need ref($proto) not ref{$proto} (parentheses not braces).