in reply to Re: Is there a problem with how large the perl file gets?
in thread Is there a problem with how large the perl file gets?

Splitting it up into several smaller files won't help, though it may make your script more maintainable.

It can help, if certain functions of the CGI are used more often than others. Splitting those off into a much smaller script will mean faster overall access times for the system as a whole.

That's just a band-aid, of course. Something like mod_perl is definitely the way to go in the long term.

  • Comment on Re^2: Is there a problem with how large the perl file gets?

Replies are listed 'Best First'.
Re^3: Is there a problem with how large the perl file gets?
by sgifford (Prior) on Feb 25, 2005 at 05:51 UTC
    Splitting those off into a much smaller script will mean faster overall access times for the system as a whole.

    Agreed. I meant that simply chopping one big script into several modules then useing or requireing all of them wouldn't speed anything up.