[Columbus-pm] which lib

Terrence Brannon metaperl at gmail.com
Wed Apr 28 07:33:13 PDT 2010


perl -MData::Dumper -MTest::More -e 'print Dumper \%INC'

you will see $INC{Test::More} pointing to it's location

regards from Boca Raton, FL! perhaps on my way to Memphis, TN!

-- Terrence

On Wed, Apr 28, 2010 at 10:15 AM, Jonathan Hogue <jon at hogue.org> wrote:
> Is there a way to effectively do a unix "which" on a perl library.
>
> like
>> which Test::More
> /usr/local/perl5/lib/Test/More.pm
>
> That would be cool.
> _______________________________________________
> Columbus-pm mailing list
> http://columbus.pm.org/
> Columbus-pm at pm.org
> http://mail.pm.org/mailman/listinfo/columbus-pm
>


More information about the Columbus-pm mailing list