The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Recently I discovered that I need to write a PERL script which automatically refreshes my page (so the cache is not used). I know how to do this in sh, bash:
-------
#!/bin/sh

echo Content-type: text/html
echo
/bin/cat /home/httpd/html/index2.html
--------
but the problem is that I am using NT and IIS and I cannot run such shell scripts. BAT files are also not allowed, so I cannot make the script using a BAT file, otherwise it would be easy.
In fact "refresh" is not the exact word as you see from the shell script. I need to force the browser and the server not to use any cache.
So here comes the question:
How looks the PERL script for NT which does the same job as the shell script? Something like the lines below maybe?
--------
#!/usr/bin/perl

I know that in fact I am asking you to write me a script... but obviously I couldn't manage with this task by myself...

I have included in my page the pragma no-cache in the meta tag... but it seems that it doesn't work... I have set up my page to expire 10 years ago... or to expire tight away when it is loaded... but This doesn't work on my computer. Here is the line I am using, tell me if there are mistakes:
&lt;META HTTP-EQUIV="Expires" CONTENT="0"&gt;