http://qs1969.pair.com?node_id=470409


in reply to Favourite One-liners?

perl -MSome::Module -e "END { foreach ( sort keys %INC ) { print \"$_\n\" } }";

Replies are listed 'Best First'.
Re^2: Favourite One-liners?
by japhy (Canon) on Jun 28, 2005 at 00:17 UTC
    That's helpful for showing the dependencies (and structure) of a module; if you just want to know the file associated with a particular module, you can use perldoc -l Module::Name.

    Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
    How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart