Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

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

2 participants

Christian Walde Mike Doherty
Christian Walde

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

Mike Doherty
Owner

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

Christian Walde

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

Mike Doherty
Owner

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.

Mike Doherty doherty closed this March 03, 2012
Christian Walde

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

Mike Doherty doherty reopened this July 10, 2012
Mike Doherty
Owner

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

Mike Doherty doherty referenced this issue from a commit July 10, 2012
Mike 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
Mike Doherty doherty referenced this issue from a commit July 10, 2012
Mike 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
Mike Doherty
Owner

Fixed in 0.005.

Mike Doherty doherty closed this July 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.