Re: Question about Apache::Request and query strings

2003-06-27 Thread Swen Schillig
Tom Where's @params coming from ? Are you sure it's not empty ? Swen |-+ | | Tom Gazzini| | | [EMAIL PROTECTED]| | | uk | | || | |

Problem with PerlTransHandler

2003-06-27 Thread Sergey V . Stashinskas
Hi all, Excuse me for my poor English because I'm from Russia. I have the problem with url translation. There are 2 scripts to do it. 1st script work perfectly, but 2nd failed. Only difference between them is string my $dbh = DBI-connect...; I use Apche::DBI but without this module the same

Re: Problem with PerlTransHandler

2003-06-27 Thread Thomas Klausner
Hi! On Fri, Jun 27, 2003 at 02:47:45PM +0400, Sergey V. Stashinskas wrote: sub handler { my $r = shift; my $dbh = DBI-connect('dbi:mysql:db', 'user', 'pswd'); $dbh-disconnect; maybe the DBI-connect isn't working and thus your script dies / throws some error ? I'd try to

Re[2]: Problem with PerlTransHandler

2003-06-27 Thread Sergey V . Stashinskas
DBI-connect is working ok. Strange problem is with regexp. If DBI-connect ... string is present in script then $1 ok but $2 is undefined. Otherwise $1 and $2 have real normal values. -Original Message- From: Thomas Klausner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Fri, 27 Jun 2003

RE: Problem with PerlTransHandler

2003-06-27 Thread csebe
Have you tried to comment out the 2 DBI lines like this: #my $dbh = DBI-connect('dbi:mysql:db', 'user', 'pswd'); #$dbh-disconnect; and is still not working? You really need the database connection? Lian -Original Message- From: Sergey V. Stashinskas [mailto:[EMAIL PROTECTED] Sent:

Re[2]: Problem with PerlTransHandler

2003-06-27 Thread Sergey V . Stashinskas
If these lines are commented out then script is working ok. -Original Message- From: [EMAIL PROTECTED] To: Sergey V. Stashinskas [EMAIL PROTECTED],[EMAIL PROTECTED] Date: Fri, 27 Jun 2003 16:39:12 +0300 Subject: RE: Problem with PerlTransHandler Have you tried to comment out the 2

Re: Re[2]: Problem with PerlTransHandler

2003-06-27 Thread Raf
Sergey V. Stashinskas said: If these lines are commented out then script is working ok. -Original Message- From: [EMAIL PROTECTED] To: Sergey V. Stashinskas [EMAIL PROTECTED],[EMAIL PROTECTED] Date: Fri, 27 Jun 2003 16:39:12 +0300 Subject: RE: Problem with PerlTransHandler

Re[4]: Problem with PerlTransHandler

2003-06-27 Thread Sergey V . Stashinskas
Problem is not in connection with database. When I try to connect then $2 regexp variable becomes undefined and script can not redirect anywhere. ($r-uri($2)) But when script is not connected with database all works perfectly and this variable has a real defined value. I can not understand this

Re: Re[4]: Problem with PerlTransHandler

2003-06-27 Thread Raf
Sergey V. Stashinskas said: Problem is not in connection with database. When I try to connect then $2 regexp variable becomes undefined and script can not redirect anywhere. ($r-uri($2)) But when script is not connected with database all works perfectly and this variable has a real defined

Re[6]: Problem with PerlTransHandler

2003-06-27 Thread Sergey V . Stashinskas
It's my original very simple script: package Apache::StripSession; use strict; use Apache; use Apache::Constants qw(:common); use DBI; sub handler { my $r = shift; my $dbh = DBI-connect('dbi:mysql:altboards', 'root', ''); # Session return DECLINED unless $r-uri =~

GTop gone missing ...

2003-06-27 Thread Nigel Hamilton
HI, Some of my Apache children are growing to 100M+ ... I'm now trying to track down GTop so I can install Apache::VMonitor so I can see where all the RAM is going. Unfortunately I'm not having much luck ...with the links from the guide and general searching. Anyone know where I

Re: Perl 6 + mod_perl

2003-06-27 Thread Kevin Falcone
LB == Leon Brocard [EMAIL PROTECTED] writes: LB However, that said, we already have mod_parrot: LB http://cvs.perl.org/cvsweb/mod_parrot/ Hmm, yes, and now that I've graduated, I should concentrate on making it compile against the current incarnation of parrot. LB I suggest concentrating on

ANNOUNCE: Gestinanna::POF 0.04

2003-06-27 Thread James G Smith
Gestinanna::POF is yet another persistent object framework. It supports data accessable via Alzabo, Net::LDAP, and MLDBM (or MLDBM::Sync), as well as combinations of these, using a uniform API. Changes in this version: LDAP support is on-par with support for the other data stores. EXISTS