Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: look which and from where modules were included

by svad (Pilgrim)
on May 07, 2002 at 14:52 UTC ( [id://164666] : note . print w/replies, xml ) Need Help??


in reply to look which and from where modules were included

... and yes, it will be even shorter with -l option to shorten print statement...
perl -Mvars -lwe "print for map {qq/$_=>$INC{$_}/} sort keys %INC"

Replies are listed 'Best First'.
Re^2: look which and from where modules were included
by Random_Walk (Prior) on Nov 16, 2006 at 10:11 UTC

    svad++

    This has just solved a little problem of mine finding where some troublesome modules where coming from on one system but not another, thanks. PerlMonks is the bees knees.

    Cheers,
    R.

    Pereant, qui ante nos nostra dixerunt!