I have a block of Perl code. I'm having some trouble understanding the same.
if(my $child = fork()) {
#Do somthing
}
else {
#Run system command
return;
}
Could anyone please make me understand on What fork() does exactly in the above code?


Your stack doth runneth over.– Tom O'Connor Mar 19 at 8:00