in reply to OT: Javascript redirects
although it's nothing to do with perl:
<head>
<script>
function redir() {
window.location.href='next_page.pl';
}
function startredir() {
window.setTimeout("redir()",5000);
}
</script>
<body onLoad="startredir()">
</body></html>