Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Using CGI::Application in large projects

by crazyinsomniac (Prior)
on Jan 22, 2003 at 09:55 UTC ( #228980=note: print w/ replies, xml ) Need Help??


in reply to Using CGI::Application in large projects

How can you possibly have hundreds of run modes (are they really tiny? how are they related? Can you draw me a picture? -- outline the app, it's functionality, the modules it uses, the enviroment it runs in .... a picture)?

Has it dawned on you to split this application up into 3-4-20 different applications?

CGI::Application will LOAD EVERY MODULE YOU USE, as would any other perl program if you use all of them. The alternative to useing a module, is requireing it (perldoc -f require), or simply eval-ing the use statement (perldoc -f use).

Any thoughts and recommendations to handling such a situation?

Yes, use strict, use warnings, use mod_perl, and don't worry about it (or, restructure your app -- can't really suggest how cause I don't have a picture).

 
______crazyinsomniac_____________________________
Of all the things I've lost, I miss my mind the most.
perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"


Comment on Re: Using CGI::Application in large projects

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2014-11-26 17:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (172 votes), past polls