-----Original Message-----
From: Stuart Arnold [mailto:[EMAIL PROTECTED] 
Sent: 19 August 2004 10:23
To: 'Wesley True'; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: How to know wich modules are installed

> On a similar note, how do I find the path to my module, ie, module is
"foo::baz", i want to see the full filepath > location.

The obvious way (to me anyway) would be to iterate through @INC, adding
foo/baz.pm to the end of each directory and see if the file exists.

Alternatively, "use" the module and look in %INC. (See 'perldoc
perlvar').

HTH

-- 
Brian Raven
 


-----------------------------------------------------------------------
The information contained in this e-mail is confidential and solely 
for the intended addressee(s). Unauthorised reproduction, disclosure, 
modification, and/or distribution of this email may be unlawful. If you 
have received this email in error, please notify the sender immediately 
and delete it from your system. The views expressed in this message 
do not necessarily reflect those of LIFFE Holdings Plc or any of its subsidiary 
companies.
-----------------------------------------------------------------------


_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to