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...
In reply to Redirect and using CGI constructor by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |