Either use no strict 'refs' around the call, use test(), or call it as a class method: main->$SubroutName is allowed, even with maximal strictness. But be aware that calling it as a class method implicitely passes the class as the first argument.
In reply to Re: Error Message when I use Strict
by Anonymous Monk
in thread Error Message when I use Strict
by tulsyan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |