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

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

Replies are listed 'Best First'.
Re^6: Module Path Problem
by bigup401 (Pilgrim) on Nov 18, 2014 at 19:23 UTC
    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

        ya i got it bt i think the problem is file permission because everytime when i use it i get this, its the only module which is not install at the server, so when i try to remove it from my script the page works very well with other modules installed on the server Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.