Questions:
- Where can I get a PERL Tutorial ?
- Is Perl 5 at /usr/local/bin/perl as stated on the support page?
- did you upgrade The Perl version from Perl 5003 to Perl5.00404 ?
- Do you provide ERROR LOGS ?
- What are the absolute Paths to Perl, Date, Sendmail, etc ?
- What PERMISSIONS are my PERL scripts supposed to be ?
- What is the path to PERL ?
- What do I have to name my PERL SCRIPTS ?
- How do I program in Perl ?
- default perl modules installed
- What version of Perl does the server use?
Answers:
- Where can I get a PERL Tutorial ?
Right here: http://thetutorial.com/links/tutorials/perl.shtml
- Is Perl 5 at /usr/local/bin/perl as stated on the support page?
Of course it is :)
- did you upgrade The Perl version from Perl 5003 to Perl5.00404 ?
Yes, we did :)
- Do you provide ERROR LOGS ?
No, I am sorry. We do not provide error logs of any kind.
- What are the absolute Paths to Perl, Date, Sendmail, etc ?
Absolute Paths to Date, Mail, Perl, etc.(Advanced Users)
CGI scripts often require paths to common server resources. These paths are as follows:
(puts you in your web directory) (puts you in your cgi-bin)
Sendmail: /usr/lib/sendmail
Perl5.00404: /usr/local/bin/perl
Date: /bin/date
Java: /usr/bin/java
Python: /usr/bin/python
Absolute Domain path: /home/your_username
Absolute Cgi-bin path:
/home/your_username/yourdomain-www/cgi-bin
YOU CAN CHECK THESE BY LOGGING INTO YOUR CONTROL PANEL, AND CHOOSING FILE MANAGER
- What PERMISSIONS are my PERL scripts supposed to be ?
They should always be chmod 755
Also, always remember to UPLOAD IN ASCII :)
- What is the path to PERL ?
Perl5.00404 Here is the path to Perl: /usr/local/bin/perl
- What do I have to name my PERL SCRIPTS ?
INSIDE your cgi-bin, you can name your perl scripts anything...
BUT
OUTSIDE your cgi-bin, you MUST name them:
.cgi
Like p1.cgi index.cgi etc. YOU MAY NOT name them .pl outside of the cgi-bin, as they will never work like that :)
Also, dont forget to UPLOAD IN ASCII and CHMOD 755 :)
- How do I program in Perl ?
I am sorry, but we do not provide PERL programming support, please contact an experienced PERL programmer to assist you :)
- default perl modules installed
Note that the number after the dash is the version we
have installed.
CGI.pm-2.42
DBI-0.93
GD-1.18
HTML-Parser-2.18
MD5-1.7
MIME-Base64-2.05
Mysql-modules-1.1831 (this is the module that allows perl to
communicate with msql and mysql)
ParallelUserAgent-2.31
libnet-1.0605
libwww-perl-5.33
- What version of Perl does the server use?
Perl5.00404 Here is the path to Perl: /usr/local/bin/perl
|