Tom
Where's @params coming from ?
Are you sure it's not empty ?
Swen
|-+
| | Tom Gazzini|
| | [EMAIL PROTECTED]|
| | uk |
| ||
| |
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
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
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
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:
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
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
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
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
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 =~
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
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
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
13 matches
Mail list logo