Embperl / Apache 2.0.40: ignores "(Perl)SetEnv"

2003-12-03 Thread Johan van Vliet
Hello all, A few days ago I upgraded from a very old Redhat to a recent RedHat 9. With embperl: Embperl-2.0b9, mod_perl 1.99_07-5 (default RH9) and Apache 2.0.40 (default RH9). Since this upgrade a few things go wrong (ESCMODE has different default and SYNTAX also). Since I have a few friends wh

Update: Embperl / Apache

2003-12-03 Thread Johan van Vliet
Sorry that I have to post an update so quickly but I've been going at this without any luck for 3 days and now something important is discovered: I stumbled over an RPM that has mod_perl-1.99_09 on: http://www.apache.org/~gozer/mp2/ However I still get: Invalid command 'Embperl_UseEnv', perhaps

Re: Update: Embperl / Apache

2003-12-03 Thread Jaak
On Wed, 2003-12-03 at 11:40, Johan van Vliet wrote: > Sorry that I have to post an update so quickly but I've been going at this > without any luck for 3 days and now something important is discovered: > > I stumbled over an RPM that has mod_perl-1.99_09 on: > http://www.apache.org/~gozer/mp2/ >

Re: Simple table problem

2003-12-03 Thread Luiz Fernando B. Ribeiro
On 03 Dec 2003 17:15:57 +1100, Pete Moran <[EMAIL PROTECTED]> wrote: I know this is a really simple problem - and can be fixed using if statements etc - but wanted to know if there was a standard way of doing this. Simply say I have a array @array = qw/1 2 3 4 5 6 7 8 9 10/; And I want to create

Re: Simple table problem

2003-12-03 Thread Gerald Richter
> > This can be done with $maxcol and $cnt, I have not tested but try > this: > This works with 1.3... > > [- > @array = qw/1 2 3 4 5 6 7 8 9 10/; > $maxcol = 4; > -] > > > [+ $array[$cnt] +] > > 2.0 doesn't support $cnt yet, here write instead the following to get the same res

Re: Embperl / Apache 2.0.40: ignores "(Perl)SetEnv"

2003-12-03 Thread Gerald Richter
> > Maybe someone has a modperl upgrade that works on RH9 and Apache > 2.0.40 if his really it the sollution. > I don't use RH and have no binaries, but 2.0.40 is really old and has some security problems For theses reason I would suggest you to compile Apache and mod_perl newset version of your o

DBIx::Recordset - MySQL DeleteWithLinks() test fails

2003-12-03 Thread Terrence Brannon
So far, postgres and sqlite pass the test suite. mysql is failing with this error: Clear (Delete all) disabled for table : (! && !(7 & wmCLEAR)) at blib/lib/DBIx/\ Database.pm line 57 DBIx::Database::Base::savecroak('DBIx::Recordset=HASH(0x86248dc)','Clea\ r (Delete all) disabled for tab

execute problems

2003-12-03 Thread Kaare Rasmussen
If I do this Execute ({inputfile => 'findList.sub', import => 1}); Then this line in findList.sub will not be executed if it's outside the subs in findList.sub: [- $req = shift -] But I'm using the $req object, so I'll try this: Execute ('findList.sub'); OK except that the subs are not i

Re: execute problems

2003-12-03 Thread Luiz Fernando B. Ribeiro
On Wed, 3 Dec 2003 18:41:16 +0100, Kaare Rasmussen <[EMAIL PROTECTED]> wrote: If I do this Execute ({inputfile => 'findList.sub', import => 1}); Then this line in findList.sub will not be executed if it's outside the subs in findList.sub: [- $req = shift -] But I'm using the $req object, so

Re: DBIx::Recordset - MySQL DeleteWithLinks() test fails

2003-12-03 Thread Gerald Richter
> > So the question is: how did this test pass with the other 2 drivers > and fail with this one? > If wmCLEAR is triggered it means there is an attempt to delete _all_ records in a table. That is certainly not what the test should do. I guess there is some argument missing, i.e. some previous fet

Re: execute problems

2003-12-03 Thread Gerald Richter
Kaare Rasmussen wrote: > If I do this > > Execute ({inputfile => 'findList.sub', import => 1}); > > Then this line in findList.sub will not be executed if it's outside > the subs in findList.sub: > When you say inport => 1 only code inside [! !] is executed, because you want to import and not to