I'm using perl. I keep getting these errors
Constant subroutine Samp::foo redefined at /usr/local/share/perl/5.20.2/constant.pm
Constant subroutine Samp::bar redefined at /usr/local/share/perl/5.20.2/constant.pm
Constant subroutine Samp::baz redefined at /usr/local/share/perl/5.20.2/constant.pm
How do I track down what is redefining them. Using the brute force approach I was able to suppress this error one time by removing a compound statement from use base qw/quz qaz/
to use base 'qaz'
. I'm thinking this is indicative of some other errors I've got going on. I can hack constant.pm
if you know how to add this debugging code.
Also props if there is a Devel::
module that helps me out, or an alternative workflow to figure this out.
The problem seems to be documented here.