Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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]
QM deletes himself from all delete lists
LanX passes the blame to jdpatches. ..
Eily the verb from this sentence
[LanX]: jdporter adjusted the best nodes algorithm not long ago to public demands, my theory more complicated= more error prone
[Eily]: what error? I see no issue :P

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2018-03-20 10:16 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (249 votes). Check out past polls.