Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl
          my $pid = fork();
    ...
    
          # Everything below here is the parent process
          print "This is the parent process\n";
    
  2. or download this
    #!/usr/local/bin/perl
    use Proc::Daemon;
    ...
        print OUT `/bin/date`;
        sleep( 2 );
    }