Thursday May 12, 2005
06:33 AM
Note to self: IO::String might break... consider Temp::File
In the update of
CGI::Prototype::Mecha, it didn't occur to me that IO::String wouldn't "work" in the way that I wanted it to work on Perl 5.6.1, even though it installs and tests cleanly on 5.6.1. (It worked fine in 5.8.6 on my laptop.) So, I had to fall back to using a File::Temp and a hard real file to provide fake STDIN for the fake CGI.pm object.
Look at the diffs between version 0.20 and 0.21 to see how I changed it.
Curious: broken how? (Score:1)
Re:Curious: broken how? (Score:1)
local *STDINdoesn't unlocalize after the enclosing block in 5.6. If I use the tied interface in IO::Scalar, it works ok if Iuntie *STDINat the end of the block, but with "local" I shouldn't have to (and I don't have to in 5.8).