Try this:
#! D:\perl\bin\perl
use CGI qw(:standard);
use strict;
print header;
print "Hello World";
1. The first line points to my perl.exe (you'll have to put in your own
path)
2. name the script hello.pl
----- Original Message -----
From: Govinda Berrio <[EMAIL PROTECTED]>
To: IMail Forum <[EMAIL PROTECTED]>
Sent: Sunday, July 09, 2000 10:20 AM
Subject: [IMail Forum] Trying to run a Perl script on the Imail server...
> Hi, I've installed the newest ActiveState Perl distribution and, just to
test it out, I've written a very simple script that looks like this:
>
> #!perl
>
> print "Content-type: text/html\n\n";
> print "Hello World.";
>
> And all I get when I type in its URL (in the root of the IMail Web
Server)is the IMail Login page. Can anyone give me some advice on this.
Thanks
>
>
> ---------------------------------
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.