Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: CGI::Application - A little too lazy?

by leriksen (Curate)
on Aug 07, 2005 at 10:45 UTC ( #481651=note: print w/replies, xml ) Need Help??

in reply to CGI::Application - A little too lazy?

We do something very similiar, but we match run modes, module and templates - run modes rm_XXX is handled by the MyApp::XXX::run(), which pulls in the HTML::Template XXX.tmpl.

I guess if you wanted to handle inheritance, you could write some kind of BEGIN block in the derived modules that builds some kind of register at compile time, that is then used by setup() to build the CGI::App instance from. Then you just need to remember to do that for each derived module...hmmm maybe that just makes a different 'I always forget to ...' problem. is better to be approximately right than precisely wrong. - Warren Buffet

  • Comment on Re: CGI::Application - A little too lazy?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2020-06-04 22:16 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (35 votes). Check out past polls.