Skip to content

This Perl program will accept three command-line arguments. The program should verify the number of arguments and the validation of the arguments. If the arguments are valid, the program should create four child processes. After the parent process creates the child processes, it should wait so that the child processes can finish.

Notifications You must be signed in to change notification settings

TreyDobbs/perl-pipe-process

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

perl-pipe-process

This program will accept three command-line arguments. The program should verify the number of arguments and the validation of the arguments. If the arguments are valid, the program should create four child processes. After the parent process creates the child processes, it should wait so that the child processes can finish. The child processes should send the sum of its generated numbers to the parent using a pipe. The parent should compute the global mean of all the data (rounded to the nearest hundredth) and send that mean back to each of the four child processes using the pipe. Each child process will display a single line (shown at bottom of report) summarizing its statistics. The parent process should generate a report heading (to the screen).

About

This Perl program will accept three command-line arguments. The program should verify the number of arguments and the validation of the arguments. If the arguments are valid, the program should create four child processes. After the parent process creates the child processes, it should wait so that the child processes can finish.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages