>>>>> "Bill" == Bill Stephenson <[EMAIL PROTECTED]> writes:

Bill> How many lines of code does it take in a single CGI script to be
Bill> considered too big?

There are days when I wanna answer that as "3". :)

... time passes ...

And I was just going to leave that as a joke answer, but on serious
reflection, your CGI "scripts" should be nothing more than
configuration and method calls against a testable module.  It's hard
to test a script, but easy to test a module.  Maybe that's why I like
frameworks such as Catalyst and my own CGI::Prototype so much...  all
the heavy lifting is in testable modules.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to