On your number 1 question:
In my experience, I have used #!/usr/bin/perl even on windows with no problems.
So, I don't think you have to have two different scripts.
Though some function in perl which has their origin in *nix "might" not port well on windows, but even at that there are several "walk" arounds.
In reply to Re: CGI troubles for code that runs on both Windows and OpenSuse Linux 12,3
by 2teez
in thread CGI troubles for code that runs on both Windows and OpenSuse Linux 12,3
by ted.byers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |