你首先需要关联.pl文件到perl.exe,双击b.pl能执行就是关联好了的,然后在b.pl里面这样写代码就可以:$f='abc.txt';system "a.pl --show-timer -f $f";