Re: DBI Persistence

2001-12-21 Thread Gerald Richter
> > Can anyone explain what is going on and what are my options? Should I > programmatically turn off the DBI persistence while I am developing/testing > and turn it back on for production (and how would I do that?) > The best is to define subruntine named CLEANUP in your code, this will always r

Re: FW: embperl [* *] does not work

2001-12-21 Thread Gerald Richter
> > I just placed at http://theoryx5.uwinnipeg.ca/ppmpackages/ > a ppm package of Embperl-2.0b5. > Thanks very much Randy!! Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-

Re: FW: embperl [* *] does not work

2001-12-21 Thread Randy Kobes
On Thu, 20 Dec 2001, Gerald Richter wrote: > > [407]ERR: 24: Error in Perl code: Undefined subroutine called at > > C:/Perl/site/lib/HTML/Embperl.pm line 745. > > > > Apache/1.3.20 (Win32) mod_perl/1.26_01-dev HTML::Embperl 2.0b4 [Wed Dec 19 > > 16:01:25 2001] > > > > 2.0b4 has some problems with

Re: Can't use an undefined value as filehandle reference at /wwww/htdocs/init.epl line 8

2001-12-21 Thread Scott Chapman
I recompiled and it cleared up nicely. Thanks! On 21 Dec 2001 at 5:30, Gerald Richter wrote: > > > [416]ERR: 24: Error in Perl code: Can't locate loadable object for > module > > > Apache::File in @INC (@INC contains: > > Perl is looking for some C code, which correspond to Apache::File and i

Re: public and private code branch

2001-12-21 Thread erik
On Thu, Dec 20, 2001 at 09:09:25PM +0100, Gerald Richter wrote: > > > > Does anyone have an example how to set up httpd.conf > > so that there is a separation between public and private code: > > > > .../epl/ public/ index.html > > private/ > > my private .epl code >

Re: 2.0b5 error: Nested tags handled incorrectly?

2001-12-21 Thread G.Richter
> >Ok. I realize that this is an architectural/design decision, but my gut >feeling is that it's counter-intuitive to the average programmer. Here's >why: The Embperl model is fundamentally about dynamically creating HTML. >This obviously means conditional code and loops. A programmer does not >in

DBI Persistence

2001-12-21 Thread Jim Hamer
I use an embperl program to make a small change to a MySQL database. The program performs the following steps: Connect Lock tables Select My Select statement had a bug in it, so the server returned an error message. I cleaned up the bug, transferred the program to the server and ran it again

Re: 2.0b5 error: Nested tags handled incorrectly?

2001-12-21 Thread Neil Gunton
Gerald Richter wrote: > > No it applies to the source! Otherwise Embperl is not able to create valid > Perl code out of it. > Ok. I realize that this is an architectural/design decision, but my gut feeling is that it's counter-intuitive to the average programmer. Here's why: The Embperl model i