[Petal] [Utils] Error log messages

Steve Purkis spurkis at mkdoc.com
Tue Sep 9 10:55:20 BST 2003


On Monday, September 8, 2003, at 08:16  pm, William McKee wrote:

> Hi Steve,
>
> I just installed Petal::Utils onto my webserver and am noticing that 
> the
> first run causes loads of error messages to get written to my logs. Any
> ideas why this would be happening? I'm running Apache 1.3.28 with
> mod_perl and Perl 5.6.1. I am using Apache::Registry to run the 
> scripts.
> Here's the beginning of one of the error messages:
>
> installing Petal plugin: 'UpperCase' at 
> /updater/lib/Knowmad/Application/Updater.pm line 59

That's because you have warnings turned on, and this line in Utils.pm:

	88: warnings::warn( "installing Petal plugin: '$name'" )
	      if warnings::enabled;

You can turn off warnings for Petal::Utils like so:

	no warnings 'Petal::Utils';

If you still have troubles let me know and I'll change this code.

-Steve



More information about the Petal mailing list