Hrm, perhaps you're misunderstanding the purpose of this function. I'm not trying to duplicate the function of %INC. The function is there so you can look up the filenames for modules that you might not want to load.
An example: I wrote a program that would let you view the source to Perl modules (yes, I know you can just do perldoc -m ModuleName, but this program will do syntax highlighting for you... I plan to post it here before too long, along with the syntax highlighting module I wrote) and it needed to translate the name of the module in Module Name Format to a fully qualified file name.
bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.
|