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.

Can't locate NDBM_File.pm in @INC

Discussion in 'General Discussion' started by colet, Aug 27, 2009.

  1. colet

    colet Member

    Joined:
    Apr 26, 2006
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I wrote a perl script a few weeks ago that uses NDBM_File.pm. The script was working, but now dies with:
    Can't locate NDBM_File.pm in @INC

    Could a cpanel update cause this?

    When I run locate NDBM_File.pm, I find 10 other versions, but none seem to be in my include path.

    Thanks for any tips.

    --
    Cole
     
  2. logicsupport

    logicsupport Well-Known Member

    Joined:
    Jun 5, 2007
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    I believe the latest version of perl doesn't have this .

    What is the server perl version

    perl -v

    Just try to copy NDBM_File.pm to the server current perl path .That may help

    Or else let me know on which line of the script does it shows error .

    Does it have anything like

    Eval 'use AnyDBM_File';

    Try to remove that line.
     
Loading...

Share This Page