in reply to Re: beginner
in thread Why doesn't my browser open perl scripts correctly?

Thanks jryan, It seems that the first line "/usr/bin/perl" is not working I need a direct path to the perl.exe (this is not on the server yet). What do you suggest??? The perl.exe file is in d:\perl\bin directory. What is the appropriate way to approach this. Regards, Nick

Replies are listed 'Best First'.
Re: Re: Re: beginner
by jryan (Vicar) on Aug 30, 2001 at 04:45 UTC

    On windows machines, #!perl is almost always the correct path to put at the top of your scripts.

    If you are on a linux box, type: whereis perl. That will tell you the correct path to perl.

Re: Re: Re: beginner
by George_Sherston (Vicar) on Aug 30, 2001 at 01:47 UTC
    Post your code! Don't be shy!

    (Maybe it's something obvious someone will spot at once - e.g. if the first line actually is /usr/bin/perl that's maybe the problem as it wd usually be something like #!/usr/bin/perl)

    § George Sherston