Don't ask to ask, just ask | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
If you're going to be creating common methods for CGI::Application, you might want to instead create a subclass Bar which inherits from C::A. Then all of your other subclasses can inherit that functionality from Bar. I did this for a C::A I wrote. This main subclass handles sessions and authentication.
For more information on how to do this, see the C::A wiki: http://twiki.med.yale.edu/twiki2/bin/view/CGIapp You should also look at the C::A plugins, they add functionality without having to subclass. In reply to Re^3: CGI::Application and object inheritance
by donarb
|
|