English 中文(简体)
传真 在使用每秒[闭门]时
原标题:Compilation Fail In require while using perl [closed]

我在我的机器上用 epi和amp子制作了一些文字。 但是,当把他们放在其他机器上时,我收到一个错误的信息,即“按要求进行战斗”。 我如何处理这个问题

问题回答

问题在于采用DBI模块版本一。 这一数字为1.619。 如果我将DBI模块中的版本重新命名为1.616,则所有错误信息均已发送。

The error message occurs when we had not Loaded the required perl modules to PERLLIB. In EPIC, click where the error points to , navigate to the base error. For me the base error is at DBI. It didn t show any error message at DBI. check the script where the keyword require is present.

对我来说,错误在表上显示。

Test -> DBTest -> DBAccess -> DBI

You should be getting error messages indicating which modules weren t loaded. They re missing from your installation, so go to cpan.org or better yet just use the CPAN.pm module to load the required modules and dependencies.

这并不是相关的信息。 你们要求的信息是在错误汇编单元后发出的。 找出模块遇到的任何错误。

For example,

>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之所以失败,是因为汇编工作失败,而汇编工作由于辛迪加错误而失败。 ix合物错误和所有三个错误都消失(除非发现新的错误)。





相关问题
Why does my chdir to a filehandle not work in Perl?

When I try a "chdir" with a filehandle as argument, "chdir" returns 0 and a pwd returns still the same directory. Should that be so? I tried this, because in the documentation to chdir I found: "...

How do I use GetOptions to get the default argument?

I ve read the doc for GetOptions but I can t seem to find what I need... (maybe I am blind) What I want to do is to parse command line like this myperlscript.pl -mode [sth] [inputfile] I can use ...

Object-Oriented Perl constructor syntax and named parameters

I m a little confused about what is going on in Perl constructors. I found these two examples perldoc perlbot. package Foo; #In Perl, the constructor is just a subroutine called new. sub new { #I ...

Where can I find object-oriented Perl tutorials? [closed]

A Google search yields a number of results - but which ones are the best? The Perl site appears to contain two - perlboot and perltoot. I m reading these now, but what else is out there? Note: I ve ...

热门标签