Help for this page

Select Code to Download


  1. or download this
    This HTTP daemon does not fork(2) for you. Your application, i.e. the 
    +user of the HTTP::Daemon is reponsible for forking if that is desirab
    +le.
    
  2. or download this
    my $d = HTTP::Daemon->new || die;
    while (my $c = $d->accept) {
    ...
       # we're the parent, go back and wait
       # for another request...
    }