GoDaddy Support

Perl

Can I add Perl Modules to my hosting account?

Posted: in Perl

No, you cannot add additional Perl Modules to the server. However, we have installed most common Perl modules.

To View Installed Perl Modules

SSH to your hosting account. For more information, see Enabling SSH on Your Linux Shared Hosting Account.
Run the following command:
perl -MFile::Find=find -MFile::Spec::Functions -Tlwe \ ‘find { wanted => sub [...]

What paths do I use to upload PERL files and use the PERL interpreter?

Posted: in Perl

You can publish your PERL files to any directory.
NOTE: The file’s permissions must be set to execute to work.

If you have a CGI/Perl-enabled account, the system path to our Perl interpreter is:
#!/usr/bin/perl
CGI binaries must end in .cgi or .pl. You cannot use /cgi-bin/ with our hosting system.
Example [...]

Connecting to a MySQL Database Using CGI/Perl

Posted: in 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?

Posted: 5/12/12 in Perl

Learn about Perl, a scripting language.

Perl Details on Linux Shared Hosting

Posted: 9/10/12 in Perl

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
[...]

NEED HELP? Call our award-winning support team 24/7 at (480) 505-8877

About GoDaddy

Submit

United States - English
Traffic Log Image