>exec ("wperl hang.pl >a.txt");
>exec ("wperl hang.pl >b.txt");
>exec ("wperl hang.pl >c.txt");

and,I'm a little strange here. if your first 'exec' is executed 
successfully,the main script process should be replaced with the exec call.In 
other words,the executing of 'wperl hang.pl >a.txt' should replace the main 
code,and the 'exec' should never return unless its execution get failed.So,if 
the first 'exec' is executed successfully,the second and the third 'exec' 
should NEVER get executed at all.

--
Jeff Pang
NetEase AntiSpam Team
http://corp.netease.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to