using cgi and perl to create guestbook

astridca

New Member
Messages
13
Reaction score
0
Points
0
Hello,
I am trying to create a guestbook in my cgi-bin folder. However, I have been conducting some research, and I've discovered that in order to do that, I would also need to use perl--and hence know the path to my perl interpreter. How do I find the path? Does x10hosting allow its hostees to use perl?
Thank you.
 

vol7ron

New Member
Messages
434
Reaction score
0
Points
0
/usr/bin/perl

It's located on the left menu in CPanel
 

astridca

New Member
Messages
13
Reaction score
0
Points
0
Thanks a lot. That was very helpful.
When I'm typing in the path for the perl interpreter in the cgi file, do I include the #! before /usr/?
 
Last edited:

garrettroyce

Community Support
Community Support
Messages
5,603
Reaction score
244
Points
63
Yes, the shebang tells where to find the correct interpreter for the following code.

Shebang being #!
 
Top