Perl-Sensitive Sunglasses | |
PerlMonks |
Re^6: Constant subroutine main::C redefined (diag)by tye (Sage) |
on Sep 10, 2012 at 14:04 UTC ( [id://992769]=note: print w/replies, xml ) | Need Help?? |
perldiag says "(S) A severe warning (enabled by default)." which is probably part of the problem. But it is still easy to get around in a couple of different ways:
Or
I threw in the 'if ! @ARGV' just so one can see the warning produced or suppressed by the same code. - tye
In Section
Seekers of Perl Wisdom
|
|