in reply to Module Path Problem

Modules are searched within subdirectories where you see "::" in their name. As a shot in the dark, i'm guessing that you want:

use lib '/webdir';

And if you look on disk you'll see the file: '/webdir/Auth/OATH.pm'

Replies are listed 'Best First'.
Re^2: Module Path Problem
by bigup401 (Pilgrim) on Nov 18, 2014 at 17:22 UTC

    yes i also tried that

    use lib '/webdir/'; use Auth::OATH;

    bt it failed

    the chmod is 755

      " it failed "

      Oh? "failed" HOW?

      Tell us -- verbatim -- the warnings, error messages and/or -- in narrative -- how it "failed"; how you know that; and how whatever happened falls short of your desires.

      The Monastery's crystal ball is undergoing an upgrade (in the hope we can eventually make it work) but right now, "it fail(s)."


      Questions containing the words "doesn't work" (or their moral equivalent) will usually get a downvote from me unless accompanied by:
      1. code
      2. verbatim error and/or warning messages
      3. a coherent explanation of what "doesn't work actually means.