Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Path to Perl

  1. #1
    New to the CF scene
    Join Date
    Sep 2010
    Thanked 0 Times in 0 Posts

    Path to Perl

    My CGI scripts are not working, I have been in touch with my server to find out the path to perl, they say it is D:\Additional\Perl\bin\Perl.exe. Is this right, and if so how do I impliment it into the script to work.

  2. #2
    Super Moderator
    Join Date
    May 2005
    Southern tip of Silicon Valley
    Thanked 233 Times in 226 Posts
    Line 1 of the script is called the "shebang" line and is where you put the path to perl.

    The shebang line is mainly a *nix thing, but is occasionally used on Windows systems.

    Windows uses the file extension to associate it with the program that interprets/processes the script, but some applications on Windows, such as the apache web server, will use the shebang line instead of the file extension.

    So, in your case, the shebang line will be:
    You may need to use forward slashes instead of the backslashes in that path.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts