in reply to Get path to module

$ perl -le " use strict; print for %INC" strict.pm C:/perl/5.10.1/lib/strict.pm

Replies are listed 'Best First'.
Re^2: Get path to module
by duelafn (Parson) on Sep 28, 2010 at 11:56 UTC

    OP got it, but just to be a bit more explicit for future monks (see also %INC):

    use MyApp::Utilv2; print qq!MyApp::Utilv2 was found at '$INC{"MyApp/Utilv2.pm"}'\n!;

    Good Day,
        Dean

      good old %INC, @INC's nerdy kid brother -- always knows the scoop.
Re^2: Get path to module
by mjscott2702 (Pilgrim) on Sep 28, 2010 at 09:21 UTC

    Perfect - just what I needed! Thanks!