|laziness, impatience, and hubris|
Module::Build and PM_FILTERby dragonchild (Archbishop)
|on Dec 08, 2004 at 14:25 UTC||Need Help??|
dragonchild has asked for the wisdom of the Perl Monks concerning the following question:
I want to add Module::Build support to my CPAN distros - I want to do what all the cool kids are doing.
Except, I use PM_FILTER. *hangs head in shame* I know Schwern has unofficially discouraged it, but I (think I) need it. And, nowhere in the POD for Module::Build is there anything that says how to convert PM_FILTER usage.
So, my question goes kinda like this:
For reference, I use PM_FILTER because PDF::Template supports Unicode for all versions of Perl. Pre-5.8, I use Unicode::String for all my string handling. So, in two .pm files, I have code that looks something like
My PM_FILTER code looks like
Which works, AFAICT, on every system that PDF::Template has been installed on. (Which, if I'm honest, has only been Unix, Linux, and Cygwin.)
Being right, does not endow the right to be rude; politeness costs nothing.