【发布时间】:2011-07-13 05:44:06
【问题描述】:
[root@ test]$ PERLDB_OPTS=RemotePort=localhost:1111 perl -d typeglob
Unable to connect to remote host: localhost:1111
Compilation failed in require.
at typeglob line 0
main::BEGIN() called at /usr/lib/perl5/5.8.8/perl5db.pl line 0
eval {...} called at /usr/lib/perl5/5.8.8/perl5db.pl line 0
BEGIN failed--compilation aborted.
at typeglob line 0
如您所见,当连接失败时,程序就会失败并退出。我怎样才能让它像在那种情况中没有指定-d一样运行?
【问题讨论】:
标签: perl remote-debugging