Thanks Thomas, that is what I wanted to know!! -Chris
>> -----Original Message----- >> From: Thomas Klausner [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, March 18, 2003 1:50 PM >> To: Modperl >> Subject: Re: Using a Startup.pl >> >> >> Hi! >> >> On Tue, Mar 18, 2003 at 01:39:41PM -0500, Chris Faust wrote: >> >> > I'm running mod_perl 2 on RedHat with Apache 2.0.44 and I'm >> using NamedBased >> > Virtual Hosting in apache (so I have a number of virtual hosts >> and apache >> > directs properly based on hostname). >> > >> > I use a startup.pl to load up common things like DBI, CGI, >> HTML::Template >> > etc.. >> > >> > Should I have just a single startup.pl and will that work with >> all virtual >> > hosts? Or should I have a startup.pl per virtual host. >> >> AFAIK, and with mod_perl 1.x, having multiple startup.pl's makes >> no sense as >> they all get executed during server startup and in the main namespace. >> >> >> -- >> #!/usr/bin/perl http://domm.zsi.at >> for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}