Perl
Can I add Perl Modules to my hosting account?
No, you cannot add additional Perl Modules to the server. However, we have installed most common Perl modules.
The process to find your account’s installed Perl modules differs, based on the type of hosting account you have. For more information, see What type of hosting account do I have?
To View Installed [...]
Connecting to a MySQL Database Using CGI/Perl
This example describes using CGI/Perl to connect to a MySQL Database.
#!/usr/bin/perl -w
print "ContentType: text/html\n\n";
use DBI;
# Connecting to the database
# Replace DATABASENAME with the name of the database,
# HOSTNAME with the hostname/ip address of the MySQL server.
$drh = DBI->install_driver("mysql");
$dsn = "DBI:mysql:database=your_databasename;host=mysql.secureserver.net";
$dbh = DBI->connect($dsn,\’your_dbusername\’,\’your_dbpassword\’);
# Select the data and display to the [...]
What is Perl?
Learn about Perl, a scripting language.
Perl Details on Linux Shared Hosting
Here are details about the way Perl is set up on our Linux shared hosting servers:
NOTE: Perl scripts written and saved in a Windows environment, and then uploaded to your server, will not run in a Linux environment.
Perl Version
Perl 5.8.8
Disabled Perl Modules
[...]
What email or relay server should I use in my Perl code?
If you use the /usr/lib/sendmail binary in your Perl script, you do not need to specify an outgoing mail server. If you use some other method besides the /usr/lib/sendmail binary, use relay-hosting.secureserver.net for your relay server.
NOTE: For security reasons, we do not support the Sockets Perl [...]
What paths do I use to upload PERL files and use the PERL interpreter?
If your hosting account uses Hosting Config 2.0, you can publish your PERL files to any directory. If your hosting account uses Hosting Config 1.0, you can upgrade to Hosting Config 2.0.
NOTE: The file’s permissions must be set to execute to work.
To Upgrade to Hosting Config 2.0
Log in to your [...]
3 min expected wait time