in reply to Re: finding installed module directory
in thread finding installed module directory
which is a standard part of every job I do, that why I can be usre which modules, and from where they have been loaded. It also means that you can add directories to the search path, and you can see just what is happening, for example:print "$_ => $INC{$_}\n" for sort keys %INC;
In my actual debugging module I read a single HASH with the /lib pointed to, then one with it disabled, then I can 'substract' one fomr the otehr and find out what the dependencies for my own modules are.#!/usr/bin/perl -w use strict; use FindBin; use lib "$FindBin::Bin/lib"; use InContact::Util; print "$_ => $INC{$_}\n" for sort keys %INC;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: finding installed module directory
by alexxx (Novice) on Jul 11, 2006 at 13:16 UTC |