- Original Message -
From: Robert Landrum [EMAIL PROTECTED]
To: Jonathan Mangin [EMAIL PROTECTED]
Cc: modperl@perl.apache.org
Sent: Thursday, January 18, 2007 7:08 PM
Subject: Re: Catching errors
Jonathan Mangin wrote:
sub handler {
my $r = shift;
my $req = Apache2
I'm hitting a location on my server with:
http://zeppo/time?fname=Jonathanlname=Manginfoo=George
#use APR::Const -compile = qw(:common :error);
use APR::Const qw(:common :error);
sub handler {
my $r = shift;
my $req = Apache2::Request-new($r);
my $foo;
# eval {$foo =
Jonathan Mangin wrote:
sub handler {
my $r = shift;
my $req = Apache2::Request-new($r);
my $foo;
# eval {$foo = $req-param('foo')};
$foo = $req-param('foo');
You might want to make sure $r is really $r. If you configure apache
such that you use PerlHandler Foo-handler, I