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.

Using "threads" with Perl

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

  1. greektranslator

    Joined:
    Jun 5, 2011
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page