unsubscribe from the list, send an empty message to:
modperl-unsubscr...@perl.apache.org
Jeff Pang
http://blog.sina.com.cn/pajeu
- Original Message -
From: biao zhou
To:
Subject: unsubscribe
Date: 2010-11-23 07:52:02
You should be putting "use strict;" at the top of your Perl files (which
would have reported the following error)
The constant is DECLINED, not DECLINE
On 11/22/2010 12:53 PM, Mohit Anchlia wrote:
I tried
package Apache2::Rules2;
#use lib '/home/.mohit/mod_perl-2.0.4/lib';
use Apache2::Const
I tried
package Apache2::Rules2;
#use lib '/home/.mohit/mod_perl-2.0.4/lib';
use Apache2::Const qw(:common);
use Apache2::RequestRec ();
use Apache2::RequestIO ();
sub handler {
my $r = shift;
#$r->content_type('text/plain');
#$r->print("mod_perl rules!\n");
return DECLINE; # We must return a stat
I was wondering if anyone has come up with a solution to this problem:
1. You have a mod_perl application and use Log4perl for logging.
2. There is a module in your mod_perl app that you want to use outside
of the mod_perl environment (e.g. in a script run from the command
line)
3. That module use