schwern/perl5i — pull request #223 by schwern (2012-06-18 20:04:46+00:00)
Title: Mostly fix the fight between the open pragma and autodie.

utf8::all switched from using a wrapper around open to using the open pragma.
Unfortunately, autodie loses the open pragma. This fixes most of the problem.
The only thing remaining is because autodie does not recognize our open() as
CORE::open() it formats the error message a little differently. At this point
I'd rather see the problem fixed inside autodie than hack the bug further here.

I'm not entirely sure why its kosher to have a function named open() that
calls open() (which is autodie's open). It was necessary to name our
function open() so that autodie produced a sensible error message.

In addition:

* Update utf8::all to the latest to avoid inconsistencies between our
hacks and theirs

PS This will fix the current failing tests and get CPAN working again.