Skip to content

autodie breaks the open set by utf8::all #7

Closed
wchristian opened this Issue Jul 25, 2011 · 6 comments

2 participants

@wchristian

I've written a test to demonstrate the problem: https://gist.github.com/1103863

utf8::all works fine, but when autodie is invoked, the encoding is stripped from open().

In order to avoid browser shenanigans it's probably best to get the test via git:

git clone git://gist.github.com/1103863.git gist-1103863

@doherty
Owner
doherty commented Jul 29, 2011

Thank you for this! Do you have any idea what the underlying problem is (or the solution)?

@wchristian

That was actually reported for autodie before, but apparently didn't draw enough interest. And there's an explanation, plus maybe a solution, but i actually do not understand it: https://rt.cpan.org/Ticket/Display.html?id=54777

@doherty
Owner
doherty commented Mar 3, 2012

I don't understand the solution provided there either, but that looks like it is actually an issue with autodie, so I'm closing this and pinging the autodie ticket.

@doherty doherty closed this Mar 3, 2012
@wchristian

Fine with me. I hope something comes out of that. :)

@doherty doherty reopened this Jul 10, 2012
@doherty
Owner
doherty commented Jul 10, 2012

autodie 2.12 fixes the interaction with open - we should require that version as a minimum.

@doherty doherty added a commit that referenced this issue Jul 10, 2012
@doherty Don't permit running with autodie < 2.12
autodie obliterated the IO layers set by the open pragma prior
to version 2.12, so now we refuse to run with autodie before
that bug was fixed.

RT #54777: autodie loses open pragma
GH #7: autodie breaks the open set by utf8::all
830890d
@doherty doherty added a commit that referenced this issue Jul 29, 2012
@doherty Don't permit running with autodie < 2.12
autodie obliterated the IO layers set by the open pragma prior
to version 2.12, so now we refuse to run with autodie before
that bug was fixed.

RT #54777: autodie loses open pragma
GH #7: autodie breaks the open set by utf8::all
e81cc6c
@doherty
Owner
doherty commented Jul 29, 2012

Fixed in 0.005.

@doherty doherty closed this Jul 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.