Thanx everyone, I figured out my problem...it turns out that there was a
space just before the shebang that was causing problems executing the script
in the first place.  I'd like to thank you guys for putting me on the right
track.

Two heads are better than one


"Sam Mauntz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> To all you perl gurus out there...
> I've got this file named schedule.pl...in the interest of
> troubleshooting my problem, I've thinned
> my script to the following code...
>
> #!/usr/bin/perl
>
>
>    print "<HTML>\n";
>    print "<HEAD>\n";
>    print "<TITLE>Perl Test Page</TITLE>\n";
>    print "</HEAD>\n";
>    print "<BODY>\n";
> print "Perl Test Page\n";
> print "</BODY>\n";
> print "</HTML>\n";
>
> Here's a printout of the perms on the file...
>
> lsh110:~/www/cgi-bin$ ls -l schedule.pl
> -rwxrwxr-x   1 portaven portaven      212 Feb  3 02:39 schedule.pl*
>
> and I know the perl path is correct because the file runs correctly at
> the command line if I type
> perl schedule.pl
>
> My problem is that when I try to run it from a browser I get a 500 web
> error message.  Does anyone
> have any ideas what might be causing this?
>
>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to