Re: PAR vs MIME::Types

[email protected] (Roderich Schupp)
Newsgroups perl.par
Message-ID <CAC9r9zaSDkhZt1Kc5WdLd8YibhFF1VMU7xnq9KM6PKw-SDCX0g@mail.gmail.com>
On Mon, Jun 15, 2015 at 7:31 PM, Ron W <[email protected]> wrote:

> If I were going to make a change to PAR::Packer, I would be inclined to
> provide the packaged application with $ENV{PP_PERL_MIME_TYPE_DB} set to the
> packaged location of types.db so that the application could then decide
> where to tell the module to look for the file.


Sorry, that approach isn't possible with the current infrastructure in
PAR::Packer (whereas patching
works now by adding two lines of code to the PatchContent filter). But
basically bothhave the same flaw:
they depend on knowledge about the inner workings of MIME::Types.

Cheers, Roderich
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.