I can't resolve a question.write a stucture in html that can call a perl script.please help.

I can't resolve a question.write a stucture in html that can call a perl script.please help.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <title>Run temp.cgi</title>
</head>
<body>
    <a href='../cgi-bin/temp.cgi'>
        Click here to run a perl script called temp.cgi
    </a>
</body>
</html>

Personally, I'd use either Mason or the Template toolkit. It's much better than CGI.

I agree, if the OP is willing to install Mason (not difficult) and has permission to modify the server configuration. I experimented a little with Mason almost a year ago. It was fun and easy to install on my local host but a lot of the free web hosts don't allow you to modify your Apache config (if I remember correctly.)

I didn't really get my feet wet with Mason so didn't feel qualified to answer whatever follow-up questions could arise from posting a Mason example.