in reply to Re^3: Module Path Problem
in thread Module Path Problem

cgi, pl files are in folder1

Replies are listed 'Best First'.
Re^5: Module Path Problem
by MidLifeXis (Monsignor) on Nov 18, 2014 at 18:44 UTC

    Then the line should be use lib '.'; or use lib '/FULL/PATH/TO/FOLDER1';

    On a security-related note: make sure that your library path is not directly accessible from web-space.

    --MidLifeXis

      so how do i call the module because when i try to call it like this use Authen::OATH; it will still read from path where perl modules are installed

        See the documentation for lib. The use lib '...'; tells the system additional locations where library files may be found.

        --MidLifeXis