in reply to Re: Duplicate Output with forking
in thread Duplicate Output with forking
Here's the bare bones, snip:
#!/usr/bin/perl -w $|++; use CGI qw(:standard); print header(); print h1('howdy!'), hr(); FORK: { if($pid = fork){ }elsif (defined($pid)){ print p('i am a child!') } } print h2("that's all folks");
This prints
-justin simoni
!skazat!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Duplicate Output with forking
by dws (Chancellor) on Mar 21, 2001 at 03:56 UTC | |
by skazat (Chaplain) on Mar 21, 2001 at 04:20 UTC |