Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Using "threads" with Perl

Discussion in 'General Discussion' started by greektranslator, Jan 4, 2015.

  1. greektranslator

    greektranslator Well-Known Member

    Joined:
    Jun 5, 2011
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    56
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    I want to use some Perl scripts that require "threads".
    From what I have seen, Perl needs to be compiled with threads in order to have that functionality (using -Dusethreads?).

    I tried to use perlbrew to install a different version but had some trouble. Is it possible to recompile system Perl with threads or what is the best course of action?

    /http://stackoverflow.com/questions/22036985/error-using-thread-module-this-perl-not-built-to-support-threads
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Is this a VPS? If so, you may need to reinstall the system Perl using your system package manager (YUM). Please make note of the information in the following document:

    Perl Environments and Modules

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice