On Thu, Jun 11, 2015 at 8:09 PM, Philip Gwyn <[email protected]> wrote: > To me, all libraries should allow the caller to specify where to find data > files.
That's a nightmare for admins and packagers... > In fact File::ShareDir is a much better option then __FILE__ or %INC. What I would like to see (as in "could I haz a pony?") is a standard way for tools like PAR to inspect or intercept loading of data. And then have a every module converted to use that. But that won't happen, TIMTOWTDI rules. BTW, it's fine with me if people submit bugs against PAR::Packer for cases like this. It generally takes one line in Module::ScanDeps and perhaps another two in PAR::Packer to fix this. > Anyone willing to weigh in on the argument? Anyway, for MIME::Types this will be solved in the next release of PAR::Packer: it will patch the packaged MIME::Types to load types.db from its packaged location. Cheers, Roderich
