Subject: | where_pm doesn't behave well with top-level modules |
The problem is actually in where(), Where.pm line 143: if the user tried
to do where_pm("YAML") or where_file("YAML.pm"), for example, @dirs will
be empty after this line and where() will return undef.
One can work around this by prepending "./" to the argument of a call to
where_file() or where(); in my case, instead of calling where_pm("YAML")
I called where_file("./".pm2require("YAML")).
Thanks for your attention.
--
--kulp