Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Favourite One-liners?

by jacques (Priest)
on Jun 27, 2005 at 22:43 UTC ( [id://470409] : note . print w/replies, xml ) Need Help??

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