How to make Perl fall back to just execute without debugging when it fails to connect to remote host? -
How to make Perl fall back to just execute without debugging when it fails to connect to remote host? -
[root@ test]$ perldb_opts=remoteport=localhost:1111 perl -d typeglob unable connect remote host: localhost:1111 compilation failed in require. @ typeglob line 0 main::begin() called @ /usr/lib/perl5/5.8.8/perl5db.pl line 0 eval {...} called @ /usr/lib/perl5/5.8.8/perl5db.pl line 0 begin failed--compilation aborted. @ typeglob line 0
as see,when fails connect,the programe fails , exits.how can create run if -d not specified in that case?
i don't understand task trying perform here. not sure why you're invoking perl debugger here? i'm wondering if there's homecoming code cli command?
if so, maybe can write shell script execute perl first way , if returns failure code, alter cli execute without -d switch.
so, in other words, there may perl way want there many ways skin cat...
perl remote-debugging
Comments
Post a Comment