Skip Menu |

This queue is for tickets about the File-Where CPAN distribution.

Report information
The Basics
Id: 38047
Status: new
Priority: 0/
Queue: File-Where

People
Owner: Nobody in particular
Requestors: kulp [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.05
Fixed in: (no value)



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