The "I" of your if should be small case. Also, I usually put
exit(0); because that was what I was taught, but could it also be
causing you problems?
>I am checking a value from a form to see which format and addresses
>should be used in an e-mail. could anyone tell me why this:
>
>If ($desti
I am checking a value from a form to see which format and addresses should be used in
an e-mail. could anyone tell me why this:
If ($destination eq "HR"){ &resources;}
elsif ($destination eq "MIS"){&techsupport;}
else {print "Invalid destination.";
exit;}
would generate this message:
sy