Creating a nearly empty warnings.pm works, but I had to define the package
namespace and create the unimport method as an empty subroutine like:
##
package warnings;
sub unimport {}
1;
##
If this is done, then you need to change the following lines in Pe
e/PerlRun.pm';}"
>
> PerlInitHandler Apache::StatINC
> PerlSetVar StatINC_UndefOnReload On
> PerlSetVar StatINC_Debug 1
> PerlWarn On
>
> PerlTaintCheck On
>
> It's not the prettiest thing, but it does what's needed.
>
> -Original Mes
ache::StatINC
PerlSetVar StatINC_UndefOnReload On
PerlSetVar StatINC_Debug 1
PerlWarn On
PerlTaintCheck On
It's not the prettiest thing, but it does what's needed.
-Original Message-
From: G.W. Haywood [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 08, 2000 3:00 PM
To:
Hi there,
On Wed, 8 Nov 2000, Chris Strom wrote:
> The offending item in %INC appears to be the 'warnings.pm' entry
> defined on line 308 of PerlRun:
>
> BEGIN {
> if ($] < 5.006) {
> $INC{'warnings.pm'} = __FILE__;
> *warnings::unimport = sub {};
> }
> }
Do you even ha
I'm having trouble using PerlRun with the StatInc module. The symptom is
several error log file entries of the form:
[Wed Nov 8 11:12:20 2000] PerlInitHandler subroutine
`Apache::StatINC::handler' : Apache::StatINC: Can't locate
The offending item in %INC appears to be the 'warnings.pm' entry