Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
July 7, 2006, 1:07 pm
rate this thread
I continue on an old topic, on which I received some help
(I cannot find anymore the link to the discussion, sorry):
and Rob (Sisyphus) replied:
now: I relocated my perl library from system-wide to local, with:
so now the datafiles that interest me are under
unfortunately I see that the %Config hash does not hold this directory.
So: what is the most elegant way to find a datafile directory which has
been installed locally?
- harryfmudd [AT] comcast [DOT]
July 7, 2006, 9:07 pm
Re: most elegant way to find an installed datafile directory
I do not know about elegance, but if you have a specific module in mind,
you can load it, and then look it up in %INC. I am thinking of something
print "Foo::Bar corresponds to $INC\n";
The only other thing I can think of offhand is to traverse @INC.