in reply to Re: Re: Re: Simple OOin thread Simple OO
This, and you need ref($proto) not ref{$proto} (parentheses not braces).