But see discussion elsewhere in the thread.
The reader did not realize that perl -c does not
provide a safe way to test syntactical correctness. There
is no way to do that in Perl.
For instance suppose that it does a use. There is no way
to know if later code is syntactically correct without
running the used module. (For instance what functions are
exported? This affects what will be trapped as a bareword
under strict, and what will not.) But when you do that,
the module could do absolutely anything it wanted to. |