1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

What is the Perl shebang - path to perl?

Discussion in 'Plesk for Windows - 8.x and Older' started by joelmoss, Mar 25, 2004.

  1. joelmoss

    joelmoss Guest

    0
     
    Can someone tell me what the correct path to perl is for use in perl scripts?
     
  2. lancer28a

    lancer28a Guest

    0
     
    Perl SheBang Syntax

    If you are using PSA correctly then IIS should be installed.

    Right Click the desired domain
    Click Properties
    Click The Home Directory Tab
    Click Configure
    Click Add
    Browse to C:\Program Files\Swsoft\Plesk\Perl\bin
    Select either Perl.exe or PerlIIS.dll
    Click OK
    Rename Program Files to Progra~1 in the directory window
    Use this same method for .pl, .plx and .cgi files

    I strongly recommend you use the .dll filter versus the executable for speed.

    In your code, the correct syntax is:
    #!Perl


    Hope this helped.
     
  3. siren@

    siren@ Guest

    0
     
    You should not add extensions to IIS this way. Plesk adds them. If for some reason they aren't there, simply check the domain settings in Plesk.

    He is correct for one variable as to the path. There are others and some vary depending on the application.

    I would recommend checking a site such as www.activestate.com which creates the primary perl solution for windows. (there are few others, but none as stable or as widely known or used.)
     
  4. sebastian

    sebastian Guest

    0
     
Loading...