This compiles fine (run it under perl -c.) If you want to get a compile-time error rather than a run-time error, you need to do what tye says below.
In reply to Re: Re: Can I Force perl to Check Subroutine References at Compile Time?
by eg
in thread Can I Force perl to Check Subroutine References at Compile Time?
by sierrathedog04
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |