in reply to Unknown error
I narrowed the bug: Compile time strict sub violations in required modules result in Unknown error.
If required/used, the following gives Unknown error:
use strict; BEGIN { test; }
When in -e or the file specified to perl, the following gives the apppropriate error message:
use strict; BEGIN { test; }
The following gives the apppropriate error message:
use strict; test;
The following gives the apppropriate error message:
use strict; BEGIN { test(); }
The following gives the apppropriate error message:
use strict; BEGIN { $var; }
The following gives the apppropriate error message:
use strict; BEGIN { ${'test'}; }
|
|---|