Compilation error When using perl

I developed several scripts on my machine using epic and perl. But when I copied them to another machine, I get the error "Compilation error is mandatory." How can i handle this

-2
source share
3 answers

The problem with the version of the DBI module that I used. This is 1.619. If I rename the version in the DBI module to 1.616, all error messages disappear.

The error message appears when we did not load the required perl modules in PERLLIB. In EPIC, click what the error indicates, go to the underlying error. For me, a basic error in DBI. There were no error messages in DBI. check the script where the require keyword is present.

→ DBTest → DBAccess → DBI

+1

, , . , cpan.org , CPAN.pm .

0

. , , . , , .

,

>perl -e"use Mod;"
syntax error at Mod.pm line 4, near "+;"
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

BEGIN - , - . , ( ).

0

All Articles