On Fri, Jul 6, 2012 at 11:18 AM, Leon Timmermans via RT <perlbug-followup@perl.org> wrote: > On Wed Apr 04 23:23:51 2012, LeonT wrote: >> The problem is that :crlf doesn't fall back on :pending the way :perlio >> does when the unread data doesn't fit into its own buffer. Instead it >> just rejects them. >> >> Leon > > I think this should fix it, but I don't have a proper test just yet. > > Leon Can someone with more time at hand write some tests for this? IO::Handle's ungetc method looks like the most obvious way to do this. I'd like to get this in before 5.18 but I'm not sure I'll have the time this month. LeonThread Previous | Thread Next