Where should I put my Perl scripts?

Here at Mxhub Perl scripts (*.pl, *.cgi files) can be executed from any location within your public_html directory. While there are a few relatively minor potential benefits in storing Perl scripts within the cgi-bin directory doing so is strictly optional.

Possible benefits of storing Perl scripts in cgi-bin:

- As /cgi-bin is a common default location used to store Perl scripts many free scripts will be setup to run in that path by default;

- Users of Microsoft FrontPage should note that storing scripts in cgi-bin will decrease any chance of FrontPage making unwanted permission setting changes

Was this answer helpful?

 Print this Article

Also Read

What version of Perl is Mxhub running?

As of this writing all of our servers are currently running the latest Perl module.

Unable to delete files created by Perl scripts

You may find that you are unable to modify or delete files or folders which were created by a...