Discipulus has asked for the wisdom of the Perl Monks concerning the following question:
#!perl #yes I WILL use -wT within the final code! use CGI; $|=1; # I put this on my own IS IT RIGTH ? $q=new CGI; print $q->header( -nph=>1, #unfortunatly IIS -status=>'200 OK', -type=>'text/html'), $val=$q->param('colore'); if ($val eq 'red'){print $q->h3(tomorrow we will have sun')} else {print $q->h3('Good Morning!)} $q->end_html();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI newbie
by tachyon (Chancellor) on Nov 30, 2002 at 14:24 UTC | |
|
Re: CGI newbie
by dws (Chancellor) on Nov 30, 2002 at 17:38 UTC | |
|
Re: CGI newbie
by Ryszard (Priest) on Nov 30, 2002 at 14:46 UTC |