Just delegate the methods that you want to provide in your interface, and handle the rest. Make a hash with one of the elements being your "inherited" parser. I believe it's called the "wrapper" pattern, but I don't name my patterns—I just use them!
-- Randal L. Schwartz, Perl hacker
In reply to Re: Re: XML::Parser Tutorial
by merlyn
in thread XML::Parser Tutorial
by OeufMayo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |