Re: live and dev versions of a module on the same server

2008-10-04 Thread Scott Gifford
"Perrin Harkins" <[EMAIL PROTECTED]> writes: > On Fri, Oct 3, 2008 at 4:25 PM, Phil Carmody <[EMAIL PROTECTED]> wrote: >> I presume that all hosting services which offer LAMP do so via virtual >> machines then, or via Apache 2. > > No, they typically just offer CGI. This is not an issue with CGI

Re: live and dev versions of a module on the same server

2008-10-03 Thread Perrin Harkins
On Fri, Oct 3, 2008 at 4:25 PM, Phil Carmody <[EMAIL PROTECTED]> wrote: > I presume that all hosting services which offer LAMP do so via virtual > machines then, or via Apache 2. No, they typically just offer CGI. This is not an issue with CGI because you're spawning a whole new Perl interpreter

Re: live and dev versions of a module on the same server

2008-10-03 Thread Phil Carmody
--- On Fri, 10/3/08, Michael Peters <[EMAIL PROTECTED]> wrote: > Phil Carmody wrote: > > The problem I'm having is that the package > > namespaces for the two handlers, and every module they > > require, clash. I might need different @INCs too. How have > > people got around this problem in the pas

Re: live and dev versions of a module on the same server

2008-10-03 Thread Philip M. Gollucci
[EMAIL PROTECTED] wrote: Quoting John Drago <[EMAIL PROTECTED]>: There are a few options: 1--- Run your VirtualHost with PerlOptions +Parent. This gives each VirtualHost its own Perl interpreter. This is mod_perl 2 specific, and until right now i personally was completely unaware of it. Ha

Re: live and dev versions of a module on the same server

2008-10-03 Thread adam . prime
Quoting John Drago <[EMAIL PROTECTED]>: There are a few options: 1--- Run your VirtualHost with PerlOptions +Parent. This gives each VirtualHost its own Perl interpreter. This is mod_perl 2 specific, and until right now i personally was completely unaware of it. Has anyone actually used it

Re: live and dev versions of a module on the same server

2008-10-03 Thread John Drago
--- On Fri, 10/3/08, Phil Carmody <[EMAIL PROTECTED]> wrote: > From: Phil Carmody <[EMAIL PROTECTED]> > Subject: live and dev versions of a module on the same server > To: modperl@perl.apache.org > Date: Friday, October 3, 2008, 3:25 AM > I'm trying to run both

Re: live and dev versions of a module on the same server

2008-10-03 Thread Michael Peters
Phil Carmody wrote: The problem I'm having is that the package namespaces for the two handlers, and every module they require, clash. I might need different @INCs too. How have people got around this problem in the past? It's not a mod_perl problem. This is just how Perl works. You can't hav

live and dev versions of a module on the same server

2008-10-03 Thread Phil Carmody
I'm trying to run both the live and dev versions of my website using virtual hosting in Apache 1.3, and using mod_perl 1.29 (on Debian stable, for reference). The problem I'm having is that the package namespaces for the two handlers, and every module they require, clash. I might need different