Loading ...
Sorry, an error occurred while loading the content.

Re: "use" statements in startup.pl v.s. global.asa

Expand Messages
  • Josh Chamas
    ... If you are using Apache::ASP- Loader, then your global.asa will be compiled in the parent httpd.conf, effectively acting as a startup.pl with regards to
    Message 1 of 2 , May 20, 2004
    • 0 Attachment
      Philip Mak wrote:
      > Do all the "use" statements in global.asa (e.g. "use DBI;") all have
      > to be copied into startup.pl, for performance reasons?
      >
      > I've been doing this all along but it occurs to me it's tedious to
      > have to change both files whenever I add or remove a package that my
      > website uses... Does anyone have a better way?
      >

      If you are using Apache::ASP->Loader, then your global.asa will be
      compiled in the parent httpd.conf, effectively acting as a startup.pl
      with regards to module loading prefork.

      Regards,

      Josh
      ________________________________________________________________________
      Josh Chamas, Founder | NodeWorks - http://www.nodeworks.com
      Chamas Enterprises Inc. | NodeWorks Directory - http://dir.nodeworks.com
      http://www.chamas.com | Apache::ASP - http://www.apache-asp.org



      ---------------------------------------------------------------------
      To unsubscribe, e-mail: asp-unsubscribe@...
      For additional commands, e-mail: asp-help@...
    Your message has been successfully submitted and would be delivered to recipients shortly.