There are a few more things that need to be changed in the Perl script:
# Set Variables
$filename - The system location of your links.html file
$linksurl - The URL of your links.html file
$linkscgi - The URL to the CGI script
$linkstitle - The desired links page title
$database - The system path to the database file
The first and last variables call for a system path which is not the same as a
URL. If your domain name was yourdomain.com the system path would be
/u/web/yourdo where "yourdo" is the account userid.
As such, the Set Variables section of the Links script would follow this
format:
# Set Variables
$filename = "/u/web/<userid>/links.html";
$linksurl = "http://www.yourdomain.com/links.html";
$linkscgi = "http://www.yourdomain.com/cgi-local/links.pl";
$linkstitle = "Free For All Link Page";
$database = "/u/web/<userid>/database.txt";
Be sure to substitute your domain name and userid in the example above.
Although Matt's code is accurate, we recommend using the Perl Script
checker within your account Control Panel when installing any Perl script.