Perl学习之创建Linux进程
示例1:创建进程 #!/usr/bin/perl #asimpledemon usestrict;my$pid=fork();print$pid."
";if($pid){print"processing...
";exit(0);}else{print"childprocessing...
";}setpgrp();while(1){sleep(10);open(MYFILE,">>/tmp/test.log");my($sec,$min,$...