The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Trying to use perl module

Discussion in 'General Discussion' started by Sewton, Jun 24, 2008.

  1. Sewton

    Sewton Registered

    Joined:
    Jun 24, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I've just started using cpanel, have no experience with perl and limited programming experience so please be kind!! I have installed and am trying to use the Finance::Quote (1.13) perl module. Everywhere I read it says I have to paste /home/nixondre/perl wherever I want to use the script...whenever I do this, the code just shows up on the website...what am I doing wrong?

    Can somebody please tell me where I go to paste this script if I want to use it on my home page? (ie. is it in the home file in the file manager?)

    Please help.
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    You need to upload the file inside the public_html folder and set the below path in your .htaccess file.

    DirectoryIndex filename of your perl script
     
Loading...

Share This Page