Hi Dan,
It doesn't really matter what size your script is, the perl interpreter is
very good at compiling. Performance problems from larger scripts are
marginal too.
However, I would suggest taking a step back from the project and have a think
about how you could change/improve things. It probably will make your job of
managing the project easier.
Can you split the project into seperate distict tasks? If you can, then you
should.
Do you have duplicated code? If yes, convert to subs.
Have you looked at things like HTML::Template to seperate out and manage your
HTML?
I personally have *finally* started to practice what I preach, and I am
finding it easier. I'm just about to start looking at HTML::Template myself.
Gary
On Friday 13 July 2001 4:50 am, Daniel Falkenberg wrote:
> List,
>
> This may sound like a weird question but I am working on a support database
> using of coarse CGI and perl. The problem is that the script script.cgi is
> almost 50K big/small? It contains almost 1000 lines of code. I suppso
> half of the script is HTML, but the script still seems to work fine. Does
> this seem obsurd to anyone?
>
> Can any one give any support on this one?
>
> Regards,
>
> Dan
--
Gary Stainburn
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000