Re: Re: RE: Re: object life

2006-03-01 Thread Daniel
> This is, in my opinion, a bad idea. Class::DBI (which > I haven't used, but have written and used something > simillar for years) I don't think is designed to be > used in this way.. > > I seriously think you might want to consider > re-engineering. (if you've already written a huge well, to b

Re: RE: Re: object life

2006-03-01 Thread Martin Moss
> I think part of the problem is the way I have > configured the abstract > class for Class::DBI. I don't know if there's > another way of doing it, > but I Have it read my config file for that > particular instance to figure > out paths and databases etc. This is, in my opinion, a bad idea. Clas

Re: RE: Re: object life

2006-02-28 Thread Daniel
On Tue, Feb 28, 2006 at 12:59:50PM -0500, Hall, Philippe wrote: > My understanding is that modules are kept in a namespace determined by > package name. The solution is to name and call your modules separately > using a different namespace, ie: > > Use Project1::db; > > And > > Use Project2::d

Re: Re: Re: object life

2006-02-28 Thread Daniel
On Tue, Feb 28, 2006 at 06:36:33PM +1100, Kathryn Andersen wrote: > On Mon, Feb 27, 2006 at 09:53:05PM -0800, Daniel wrote: > > has noone bumped into this? I think apache for speeds sake is trying to > > load the classes and keep them in memory. > > > > Is there no way to turn that 'off' ? > > Do

RE: Re: object life

2006-02-28 Thread Hall, Philippe
, 2006 12:53 AM To: RobertCZ Cc: embperl mailinglist Subject: Re: Re: object life On Mon, Feb 27, 2006 at 05:24:55PM +0100, RobertCZ wrote: > not very clear what exactly you are doing - you have two apache virtual > servers both using Embperl::Object and they clash? you use > Embperl

Re: Re: object life

2006-02-28 Thread Martin Moss
Hi Daniel, I hope this helps, I've had to make some assumptions, so please feel free to correct me.. Firstly, the bad news. > Is there no way to turn that 'off' ? No:-) (none that I know of that are actually worth it) I think you have a fundamental problem that cannot be solved without some r

Re: Re: object life

2006-02-27 Thread Kathryn Andersen
On Mon, Feb 27, 2006 at 09:53:05PM -0800, Daniel wrote: > has noone bumped into this? I think apache for speeds sake is trying to > load the classes and keep them in memory. > > Is there no way to turn that 'off' ? Don't use mod_perl? I do believe that loading classes and keeping them in memory

Re: Re: object life

2006-02-27 Thread Daniel
On Mon, Feb 27, 2006 at 05:24:55PM +0100, RobertCZ wrote: > not very clear what exactly you are doing - you have two apache virtual > servers both using Embperl::Object and they clash? you use > Embperl_App_Name, right? hm, no, not quite. > > if I dont understand, would you mind showing us some