+ -
当前位置:首页 → 问答吧 → eclipse调试perl的问题

eclipse调试perl的问题

时间:2010-10-13

来源:互联网

用eclipse已经安装了EPIC和padwalker,但调试perl是报错
Use of uninitialized value in subroutine dereference at (null) line 1.
perl5db.pl did not return a true value.
BEGIN failed--compilation aborted.

用perl -d 却是正确的
D:\>perl -d

Loading DB routines from perl5db.pl version 1.32
Editor support available.

请问是咋回事啊??谢谢了昂

作者: ununique007   发布时间: 2010-10-13

回复 ununique007

    报错说用了未定义的值
    最好把代码放出来看看

作者: 珞水的大叔   发布时间: 2010-10-13

回复 珞水的大叔

代码就是hello world

#!perl

print "hello world";

作者: ununique007   发布时间: 2010-10-13

回复 ununique007


    啊,这个我就不太了解了,需要请对eclipse比较熟的人help下。
   我记得最近有个帖子(http://bbs.chinaunix.net/thread-1797640-1-1.html),里面看到 shaneqi 是用eclipse的,要不你请教一下他
   另外,听说 Wayne_sama 也正打算用eclipse+epic,你们可以交流一下,呵呵

作者: 珞水的大叔   发布时间: 2010-10-13

LZ,你可以参考俺的  EPIC学习笔记 :http://brantc.blog.51cto.com/410705/118734
希望有所帮助

作者: brant_chen   发布时间: 2010-10-13