Good morning, Michael.

The following 1-liner will help you to find which perl modules will be run:

perl -e 'print join("\n", @INC),"\n"'

Cheers
Alex

Michael Mansour wrote, On 12/04/2007 12:40 AM:
Hi,

I have a couple of perl modules of the same name installed in my OS. This is
expected as I've hand compiled various apps.

What I'd like to know is, how I'd determine which perl module is actually used?

As an example, I have the Base64.pm in three locations - please don't ask why
:), and when I run:

# perl -MMIME::Base64 -e '{print "$MIME::Base64::VERSION\n"}'
3.07

Yet I do not know which one it's picking up, as I have one from Sep 20  2004,
another from Nov 30  2005 and another from this year Jun 15 01:35.

I know perl searches through paths in its environment (not sure where it gets
that from), but any ideas how I can find out which Base64.pm is being used?

Thanks.

Michael.

Reply via email to