要寫個程式去run一些system command<br /><br /><!-- more -->用<a href="http://perldoc.perl.org/functions/exec.html">exec</a>...<br /><br />while(<>)<br />{<br />exec 命令;<br />}<br /><br />執行一行就停了.....<img src="/js/fckeditor/editor/images/smiley/msn/confused_smile.gif" /><br /><br />改用<a href="http://perldoc.perl.org/functions/system.html">system</a>就解決了<br /><br />據說:exec執行完後砍掉process<br /><br />或許吧!?