Can't call method "connection" on an undefined value.

2002-06-04 Thread Scott Chapman
I have Apache 1.3.24 (RH7.3 - compiled it myself with ModPerl 1.27) and EmbPerl 2.0b7. ModPerl make test worked after I got current perl modules installed for relevant parts. Now when I run my web server and load a page, I get the error Can't call method "connection" on an undefined value at

Re: Can't call method "connection" on an undefined value.

2002-06-04 Thread Gerald Richter
> I have Apache 1.3.24 (RH7.3 - compiled it myself with ModPerl 1.27) and > EmbPerl 2.0b7. ModPerl make test worked after I got current perl modules > installed for relevant parts. Now when I run my web server and load a page, I > get the error Can't call method "connection" on an undefined valu

File locking on EmbperlObject::Execute

2002-06-04 Thread Gavin Carr
Hi Gerald, Are you doing any explicit file locking on the reads involved in an EmbperlObject::Execute? If not, could I make it a feature request? Maybe an 'flock' argument to Execute or something? I've got a situation where I want to able to write lock some of my epl components and know that t

Re: File locking on EmbperlObject::Execute

2002-06-04 Thread Angus Lees
At Wed, 5 Jun 2002 14:37:28 +1000, Gavin Carr wrote: > I've got a situation where I want to able to write lock some of my epl > components and know that the locking will be honoured ... just do the usual "write to a temporary file next to it, then rename over the file you wanted" trick. IO::Atom

Re: File locking on EmbperlObject::Execute

2002-06-04 Thread Gerald Richter
Hi, > > I've got a situation where I want to able to write lock some of my epl > components and know that the locking will be honoured ... > You want to write lock the Embperl source files? Do you creating them dynamicly? Otherwise I can't imagine for what this should be good for. Gerald

Re: File locking on EmbperlObject::Execute

2002-06-04 Thread Gavin Carr
On Wed, Jun 05, 2002 at 08:22:36AM +0200, Gerald Richter wrote: > > I've got a situation where I want to able to write lock some of my epl > > components and know that the locking will be honoured ... > > You want to write lock the Embperl source files? Do you creating them > dynamicly? Otherwise

Re: File locking on EmbperlObject::Execute

2002-06-04 Thread Gavin Carr
On Wed, Jun 05, 2002 at 03:49:59PM +1000, Angus Lees wrote: > At Wed, 5 Jun 2002 14:37:28 +1000, Gavin Carr wrote: > > I've got a situation where I want to able to write lock some of my epl > > components and know that the locking will be honoured ... > > just do the usual "write to a temporary f