Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Also is this the most efficient way to make sure a variable exists before sending mail?use CGI; use strict; my $query = new CGI; unless(defined($subject)) { #redirect if someone enters www.mysite.here.cgi into the url print $query->redirect('http://www.mysite.here.htm'); exit(0); } #mail sendmail program part here...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Redirect and using CGI constructor
by EvdB (Deacon) on Nov 17, 2003 at 15:56 UTC | |
by Anonymous Monk on Nov 17, 2003 at 16:03 UTC | |
by EvdB (Deacon) on Nov 17, 2003 at 16:11 UTC | |
by Anonymous Monk on Nov 17, 2003 at 16:27 UTC | |
by EvdB (Deacon) on Nov 17, 2003 at 16:32 UTC | |
|
Re: Redirect and using CGI constructor
by BUU (Prior) on Nov 17, 2003 at 19:55 UTC |