It is if, as I wrote, you syntax-check the module's file with perl -wc, e.g.:
Then it's no longer a module, it's just a script. The parent poster did say "in a require".
>echo 2 > Foo.pm >perl -we "use Foo;" >perl -cwe "use Foo;" -e syntax OK
In reply to Re^3: Why no warnings for 1 in void context?
by ikegami
in thread Why no warnings for 1 in void context?
by tlm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |