in reply to perl cgi-bin folder missing

I'm very surprised that you are missing an httpd.conf and a cgi-bin directory as these should be created by a standard Apache install on Windows. Did you build Apache yourself, or did you get hold of a binary such as WampServer? What version of Apache is it?

If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)