in reply to Re: configuring @INC
in thread configuring @INC

hi
I tried by giving
use lib "abc/pm/"; use IDVDb;

eventhough , it is giving the same error.
Actual path of "abc/pm/IDVDb.pm" is "/example/abc/pm/IDVDb.pm".
is there any way to configure @INC variable.

Replies are listed 'Best First'.
Re: Re: Re: configuring @INC
by matija (Priest) on May 06, 2004 at 12:47 UTC
    Well, DUH! use the actual path, then! I used the path you gave in your question and I figured you'd be smart enough to adapt it to the right value yourself.

    Just to make this absolutely clear, if your module is located in /opt/mrn/Foo/Bar/Baz.pm
    and the package line says:
    package Bar::Baz:, then you need to say>
    use lib "/opt/mrn/Foo";