Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Did ChatGPT do a good job?

by cavac (Parson)
on Mar 29, 2023 at 18:22 UTC ( [id://11151325]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Write a Perl program that forks 5 child processes. The main process
    should handle SIGCHILD and restart any child processes that have exite
    +d.
    The child processes have a function called "doWork" that have a 
    "Your code here" comment.
    
  2. or download this
    use strict;
    use warnings;
    ...
        print "Child process $$ doing some work\n";
        sleep(10);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11151325]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-04-23 21:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found