PERL script works on non-hub URLs, but not my HUB website. Why?

Asked by:
HubFans / n/a Points
2014-01-15 4:47 pm EST
#!/usr/bin/perl -w
# This script gets a web pages from a website and displays it .
use LWP::Simple;
print "Content-Type: text/html\n\n";
getprint ("");

It appears that HUB servers behave oddly. Any ideas?

To ask this user for more information, please first login.

To submit an answer, please login.



9,387 Points
2014-01-15 5:10 pm EST

Thanks for the question and sorry for the problems with your PERL script. To start with, your script does need to be in the CGI-BIN folder, not BIN. The shebang line should be changed and then it should be okay. Make sure it's also executable, permission-wise. The "BIN" folder doesn't exist.

If you have any further questions or comments, please let us know.

Arnel C.

To submit a comment on this answer, please first login.

Want to share this Question?

News / Announcements

Update to SSL Certificates - Certificate Warnings
1969-12-31 11:00 am EST
Hits: 708

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.