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