in reply to Re: whichpm
in thread whichpm

I had actually thought about these vars, but assumed that require would handle the magic. I'll test it, if it doesn't it's a simple matter of a BEGIN block to split the vars and <s>push</s> unshift them onto @INC.

UPDATE: As Aristotle got around to showing before I did, the vars are heeded

Oh umm, okay... Why not? I actually used require intentionally. Let perl do the heavy lifting ;-) It even works for broken modules which don't return true (but not null length files).

--
I'm not belgian but I play one on TV.