Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Forking problems

by pc88mxer (Vicar)
on Mar 21, 2008 at 17:00 UTC ( [id://675470] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if (!defined(my $pid = fork)) {
        print "Oh no\n";
    ...
    } else {
        print "in parent\n";
    }