• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

What is the Perl shebang - path to perl?

J

joelmoss

Guest
Can someone tell me what the correct path to perl is for use in perl scripts?
 
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.
 
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.)
 
Back
Top