我最近一直在研究各种 Perl IDE(EPIC、Komodo等),其中大多数都需要安装 CPAN 模块。很公平,但是所有的安装似乎都破坏了库存调试器(就价格而言,这很不错)。所以现在,当我进入调试器(perl -d -e 0
)时,我得到了错误,并且“重新启动”似乎给出了更多错误。
如何修复安装?
我正在使用ActiveState Perl,版本 5.10.0。
> perl -d -e 0
Loading DB routines from perl5db.pl version 1.3
Editor support available.
Enter h or `h h' for help, or `perldoc perldebug' for more help.
main::(-e:1): 0
SetConsoleMode failed, LastError=|6| at C:/Perl/lib/Term/ReadKey.pm line 265.
at C:/Perl/site/lib/Term/ReadLine/readline.pm line 1581
readline::readline(' DB<1> ') called at C:/Perl/site/lib/Term/ReadLine/
Perl.pm line 11
Term::ReadLine::Perl::readline('Term::ReadLine::Perl=ARRAY(0x1a9c26c)',
' DB<1> ') called at C:/Perl/lib/perl5db.pl line 6414
DB::readline(' DB<1> ') called at C:/Perl/lib/perl5db.pl line 2227
DB::DB called at -e line 1
DB<1> R
Warning: some settings and command-line options may be lost!
Your vendor has not defined POSIX macro _SC_OPEN_MAX, used at C:/Perl/lib/perl5d
b.pl line 3320
at C:/Perl/lib/POSIX.pm line 56
POSIX::AUTOLOAD() called at C:/Perl/lib/perl5db.pl line 3320
DB::DB called at -e line 1
Debugged program terminated. Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
DB<1>