> <...redefined constant sub warning...>
> This warning also appears with any scalar constant created with
> constant.pm -- pretty darn annoying for cgi error_logs. Is there
> a more 'official' fix or suggestion why mod_perl triggers this?
>
It's not 'official', but I patched constant.pm so that at the end of the
import sub, it checks that the sub isn't already defined. Just wrap this
around the last block in import():
if (!(defined &{"${pkg}::$name"})) {
<import the const sub>
}
I don't have this problem anymore with 5.6 though...
--
Jeremy Howard
[EMAIL PROTECTED]
FastMail--Sign up at http://fastmail.fm