in reply to Writing link on HTML page

I tried putting the URL in the form instead of using "HTTP_REFERER" in the script, but it isn't working right yet (it still links to the .cgi page). I don't really know much about Perl, and admit that I'm just making a "stab" at this, but if anyone can help I'd really appreciate it.

In the form I put this line:
<input type="hidden" name="continue_url" value="http://www.webmonkeydean.com/et-toi/">

In the script I put this line:
$JUMP_URL="$fields{'continue_url'}";

and wrote the link like this:
<a href="$JUMP_URL">Continue</a>