[rt-users] redefinition warnings from overlays

Kevin Falcone falcone at bestpractical.com
Tue Aug 20 13:16:41 EDT 2013


On Tue, Aug 20, 2013 at 12:01:29PM -0400, Len Jaffe wrote:
>    Am I supposed to get subroutine redefinition warnings from orverlays?

If you're redefining core subroutines in your overlay, I would expect
warnings.

If you're adding new code, you shouldn't get them.

You can use "no warnings qw(redefine);" to silence them (you'll see it
a lot in many BPS extensions).


-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130820/d20d9150/attachment.sig>


More information about the rt-users mailing list