Given the other comments, it seems to me that Pod::Usage could spot this case and give a more useful error message. It may be worth filing a feature request via the module's github with a reference back to this thread.
In reply to Re: Wrapping code in a sub causes an error I don't understand.
by hv
in thread [Solved] Wrapping code in a sub causes an error I don't understand.
by davies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |