in reply to subclasssing vs using

Subclassing (inheritance) should only be done to classes (modules) that were designed to be subclassed. CGI.pm was not really designed for that so I would strongly discourage doing that.

Besides, inheritance would be my last choice for incorporating features from another module into my module. Working with inheritance (at least implementation inheritance, which is really the only inheritance supported by Perl) is like working with big sheets of two-sided duct tape: Sure, you can stick things together really well, but it is just too easy to end up with too many things stuck too tightly together such that you can't work with anything anymore. (:

        - tye (but my friends call me "Tye")