in reply to How to find path for current module?

I've never tried this before, but my first guess would be to look for the value in $INC{ 'Mod' }.

Update: Not quite. %INC is the right place to look, but one needs filenames not package names for keys. I.e. what davidrw wrote.

the lowliest monk

  • Comment on Re: How to find path for current module?