+ Reply to Thread
Results 1 to 4 of 4

Thread: using cgi and perl to create guestbook

  1. #1
    astridca is offline x10Hosting Member astridca is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    13

    using cgi and perl to create guestbook

    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.

  2. #2
    vol7ron's Avatar
    vol7ron is offline x10 Lieutenant vol7ron is an unknown quantity at this point
    Join Date
    Mar 2008
    Location
    DC
    Posts
    434

    Re: using cgi and perl to create guestbook

    /usr/bin/perl

    It's located on the left menu in CPanel
    If you find my post useful please add to my reputation by clicking the +Rep button
    You may also use the Donate link to donate credits - this is appreciated too Thanks to those whom have donated so far!


  3. #3
    astridca is offline x10Hosting Member astridca is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    13

    Re: using cgi and perl to create guestbook

    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 by astridca; 07-05-2009 at 01:59 PM. Reason: made a mistake typing

  4. #4
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: using cgi and perl to create guestbook

    Yes, the shebang tells where to find the correct interpreter for the following code.

    Shebang being #!
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers