Endo has asked for the wisdom of the Perl Monks concerning the following question:

Ok, I know im going to be laughed at or some crap, made fun of, etc etc. But I'm using Perl on Windows 2000 Advanced Server (w/ SP3). When I made my first script (a friend helped out), it was supposed to go through all the environment information, BUT, when I added a query string at the end, it didn't pick them up, my friend also tested it, and it didn't work for him eithr. Can someone help me out on setting it up correctly, to read Query Strings in Windows? Please :)

Replies are listed 'Best First'.
Re: Perl on Windows
by dws (Chancellor) on Aug 30, 2002 at 03:29 UTC
    Can someone help me out on setting it up correctly, to read Query Strings in Windows? Please :)

    Post your code. I've done this under IIS on Win2K, so I know it works.

      While on the topic (sort of) I was wondering if there is an environment variable that would tell me which program called my script, if I was not running it in a web server context. I will be calling it from a one of several Java programs and want to know which one called it. Regards, Gerard
        you might want to check out the HTTP_REFERER variable...might be what you're looking for. hth
Re: Perl on Windows
by screamingeagle (Curate) on Aug 30, 2002 at 04:54 UTC
    make sure that you've configured IIS to associate files with .pl, .cgi extensions with the Perl interpreter, and please post some source code too (would be easier for the rest of us to give helpful suggestions ;)
Re: Perl on Windows
by Marza (Vicar) on Aug 30, 2002 at 18:05 UTC

    Why would you be laughed at? There are many of us that use Perl on windows! I get help all the time here. As the others mentioned, post your code for help.

    Don't worry about the platform arguements. They will go on long after we are gone. Just ask for help and post your code. Somebody always helps here!

      As another who works mostly with Win2k, I'd like to encourage you not to be shy re posting questions on perl and Win2k. That's how we all learn. You may even learn to dish out as well as handle the 'good natured' platform wars repartee that go on around you.