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.

Perl 5.8

Discussion in 'General Discussion' started by equivity, Aug 28, 2003.

  1. equivity

    equivity Well-Known Member

    Joined:
    Aug 12, 2003
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Daytona Beach, Florida
    I am running perl 5.006001 seems to be a bit old, should I update my perl to the 5.8 version, if so how?

    Also One cliuent asked for the folloinwg p[erl modules to be installed? How would I go about doing those?

    HTML::Mason
    PerlMagick
    Crypt::PasswdMD5

    Also are there any concerns I need to be aware of in ussing these modules?

    cPanel.net Support Ticket Number: Should I update, if so how?
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Perl modules can be added in WHM under "Software" "Install a Perl Module". I don't know about the security concerns though. In general, I think most modules are safe.

    cPanel.net Support Ticket Number:
     
  3. equivity

    equivity Well-Known Member

    Joined:
    Aug 12, 2003
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Daytona Beach, Florida
    I ended up doing this and had to force the perl module to install, now NONE of my perl scripts are working how can I fix this, go back to previous version or what? Any help please...

    cPanel.net Support Ticket Number:
     
  4. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    When you say "doing this", do you mean upgrading perl to 5.8 or installing those modules? If you just installed modules, I can't think of any reason why perl would stop working...

    cPanel.net Support Ticket Number:
     
  5. equivity

    equivity Well-Known Member

    Joined:
    Aug 12, 2003
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Daytona Beach, Florida
    I installed 5.8 at least I thought I did, it looks like it is just 5.6.1 which is a good version anyway, but some of my scripts stopped working and I get a 500 error, I have not idea what is wrong , where to check or how to fix them.

    cPanel.net Support Ticket Number:
     
  6. bobbybobbertson

    bobbybobbertson Well-Known Member

    Joined:
    May 30, 2003
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Are your runinng perl with the "-w" option?

    If so, perl 5.6 gives a lot more warnings than 5.0 used to. So if your scripts are cgi, then the warnigns are getting pumped out to the browser before the header information, and that's what is causing the error.

    My favorite perl module for cgi is: CGI::Debug
    Put this module at the beginning of one of your failing scripts with: use CGI::Debug;

    It will catch all the error messages and send them out to the browser after the headers along with a report of what went wrong. Great module.


    I suggest removing the Debug module once you have the script up and running corectly, just becasue it pumps error information out that could cause insecurities if your script errors out in the future and the wrong people read it.

    cPanel.net Support Ticket Number:
     
  7. equivity

    equivity Well-Known Member

    Joined:
    Aug 12, 2003
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Daytona Beach, Florida
    Well for some reason, last night I went to bed they did not work, today when I work up they did. Damn gremlins, maybe when the server rebooted it fixed everything, althought I tired that before and it did not. So everything seems to be ok, thanks for all the help and advice on this.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page