Bib*_*ahu 2 debugging perl
如何调试另一个 perl 脚本中使用的 perl 脚本。我们可以分别调试两者。是否可以一步调试?
前任:
!/user/bin/perl my $param= 8; my @res=\`perl extract.pl $config`; print "The results is .... @res\n";
同样,我们可以调试shell脚本中使用的perl脚本吗?
谢谢。
per*_*eal 5
您可以将-dswitch 添加到您正在调用的脚本的 shebang 行:
-d
#!/usr/bin/perl -d
归档时间:
13 年,10 月 前
查看次数:
909 次
最近记录: