hambo has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w #Create initial feedback page use CGI ':standard'; my $query=new CGI; print $query->header("text/html"); print $query->start_html(-title => "This is my first web page generate +d via CGI"); print $query->h1('This is the header document'); print <<EOF; This is the body of the document<br/> What goes in here is really anything you wish to put in here<br/> EOF if ( my $pid = fork() ) { system ("./sleepme.pl"); exit; # This current process } else { print $query->end_html; }
I know little about CGI, so this is all a bit new to me.#!/usr/bin/perl -w sleep; exit;
20040504 Edit by broquaint: Changed title from 'CGI question - getting rid of the hour glass'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Closing parent CGI after fork()
by tinita (Parson) on May 04, 2004 at 11:57 UTC | |
by dave_the_m (Monsignor) on May 04, 2004 at 12:57 UTC | |
by edan (Curate) on May 04, 2004 at 13:49 UTC | |
by hambo (Novice) on May 11, 2004 at 00:31 UTC | |
by edan (Curate) on May 31, 2004 at 14:04 UTC | |
|
Re: Closing parent CGI after fork()
by b10m (Vicar) on May 04, 2004 at 13:03 UTC | |
|
Re: Closing parent CGI after fork()
by pelagic (Priest) on May 04, 2004 at 13:02 UTC |