Hi, I'm trying to write a script that will take in a string from an html form, then run an if statement which will compare it to another string and if the two strings are equal, it will generate an html file. Here is code I have so far. What I don't know is the syntax for generating an html file.
use CGI ':standard';
$agentname = param('agentname');
if($agentname eq 'Joe Bob')
output to browser joebob.html
Any help with this matter would be greatly appreciated.