Hello, I've just started Perl programming, am learning with a NT Server, and am doing all my programms on windows. I am trying to upload a simple hello program to my server and have uploaded it successfully. The problem is that when I try and open the file from a browser I do not get hello world written on the screen but a box asking where I want hello.perl.exe saved. Perl.exe is the extension to be used for my server and there is no directory needed. I can save and open this file but it just show's the programm I have written to put Hello world on the screen. Here is a copy of my programm I was wondering if I'm doing something wrong or if anyone else has had this kind of problem and can help?
#!/usr/bin/perl.exe -w use CGI qw(:standard); use strict; print header; print "<B>Hello, World!</B>";
Is there something I must do to run the program through the server? It seems as if it's only letting me access the program instead of it running the programm for me, (I have tested it in ms dos and the program does work on my system). I'm typing in www.myserver(my web domain name).com/Hello.perl.exe and that is when I get the dialog box asking where I want to save the file. I have uploaded the file by cuteftp, with the perl.exe extension on the end. Thank you for your help, Monkette!

Edit: chipmunk 2001-03-07


In reply to Win. Ftp. Files, Browsers by kdelph

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.