Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
in C::A I need to say my package isa C::A. I do that like so;
use base CGI::Application;
However
use base CGI::Application -no_undef_params;
does not seem to work, (nor any other permutation I could think of).
I was just wondering what the right syntax would be?
Oh.. while I'm here.
Is there any way I could import the HTML shortcuts into my C::A namespace, so as not to have to use the OO style.
I want to be able to say td(foo) instead of $q->td(foo)
I should mention this is all in a mod_perl handler.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI::Application and CGI pragmas?
by cees (Curate) on May 27, 2005 at 22:55 UTC | |
by Anonymous Monk on May 28, 2005 at 00:23 UTC | |
by cees (Curate) on May 28, 2005 at 00:39 UTC | |
by Anonymous Monk on May 28, 2005 at 23:25 UTC |