Well, if you want constant folding, then you'll have to deal with the warning being generated. It's a mandatory warning.
Of course, just because the warning will be generated; doesn't mean it has to be displayed. $SIG{__WARN__} can catch and hide it.
In reply to Re^11: Constant subroutine main::C redefined
by tobyink
in thread Constant subroutine main::C redefined
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |