The sub is never called, so it can't produce the message you cite.
The "subroutine redefined" warning is a compile-time warning. Whether that code is reachable is irrelevant.
In reply to Re^2: best way to handle Subroutine redefined warning
by chromatic
in thread best way to handle Subroutine redefined warning
by keiusui
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |