Download and install that would have the "

Posted on 2006-03-20
Last Modified: 2012-08-13
This question is regarding Perl.  I have a script that is running and it is not finding the following library: ""

Who can tell me which would be the correct module to download and install that would have the ""

This is the error  "Can't locate threads/ in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .)"

Please, help me by directing me how to find out which will be the right place to download the module or the library.  

Nancy L
Question by:nlopezzapa07
    LVL 28

    Accepted Solution

    What version of Perl are you using?  You need to be using 5.8.x

    You need these 2 modules:
      use threads;
      use threads::shared;

    Both of them are core modules in 5.8.x which means they are included in the activestate install of Perl.  However, if you're using 5.6.x, then neither is installed by default.  You can use ppm to install threads, but according to activestate, threads::shared does not work below 5.8.x.

    My recommendation is to upgrade to 5.8.7 which comes with both modules.
    LVL 9

    Expert Comment

    by:Suhas .
    LVL 9

    Expert Comment

    by:Suhas .
    Hi nlopezzapa07,
    Check once have u installed the in path of @INC array.
    else u have to add the path, where u saved the .pm file.


    Author Comment

    With the links it took me a little while, but learned the hard way to that the path needed to be added.  Your help has been excellent.  

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Suggested Solutions

    I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
    Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now