in reply to CGI::Application Error

I think your "new" method is overriding the one in CGI::Application and that is resulting in no class instance being created.
Update: See chipmunk's reply. You need to call the constructor for the parent class from your "new" method.

Replies are listed 'Best First'.
Re: Re: CGI::Application Error
by rob_au (Abbot) on Nov 18, 2001 at 10:17 UTC
    This is not the case - The CGI::Application module is designed to act as a base for further module building. See the base library command and the method by which it allows modules to call upon methods and functions of the class it inherits.

    Update - Oops, didn't see the module definition there ... Will update my other reply accordingly - I think czarfred may need to have a closer look at the CGI::Application documentation or my review on this one.

     

    Ooohhh, Rob no beer function well without!

      yes, but the "new" in CGI::Application never gets called with the current code.