On Oct 18, 2007, at 2:51 PM, Eric Wilhelm wrote:

# from Matisse Enzer
# on Thursday 18 October 2007 13:31:

So, what is Best Way?

Module::Finder ?

I want to find non-module resources, for example, a directory containing configuration files that was installed in @INC somewhere.

My example code will find anything that matches the argument, so you can use it to search for
  My/ApplicationFramework/HTML_Templates
and get back a full path like

  /Library/Perl/5.8.6/My/ApplicationFramework/HTML_Templates


And how about those references in @INC?

Best to not mess with them ....

Yeah I guess so, since refs in @INC are expecting to be used to find modules.

-M

-------------------------------------------------------
Matisse Enzer <[EMAIL PROTECTED]>
http://www.matisse.net/  - http://www.eigenstate.net/



Reply via email to