Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Re: Re: Re: CGI::Application and HTML::Template interaction

by geektron (Curate)
on Jan 13, 2004 at 00:17 UTC ( #320822=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: CGI::Application and HTML::Template interaction
in thread CGI::Application and HTML::Template interaction

The Base class is where you would ideally put the customized load_tmpl method. This way your entire project gets the benefit of the change, but other users of CGI::Application on the system will not notice a difference.
I didn't even think of overriding other CGI::Application methods. Yes, I already have a subclass of CGI::Application for the app in question, but I hadn't gotten to the point of changing any default behaviour in methods ( because, frankly, I don't know it well enough to want to jump too far into it ). But, next time around ( and if i get a chance to refactor this project ), I'll do just that: have a customized my_load_tmpl() method that acts just like load_tmpl() with a few added fun things.
  • Comment on Re: Re: Re: Re: CGI::Application and HTML::Template interaction

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://320822]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2022-01-25 10:50 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (66 votes). Check out past polls.