in reply to Perl 5.12: layers and opening scalars as file handles

It doesn't work for me with any of 5.8.4, 5.10.0, 5.10.1, 5.12.2 and 5.12.3 (those are the ones I have available for testing here). And IIRC, it never worked with any vanilla build of perl. Maybe your Slackware 5.10.0 had a specific patch applied?

I dimly recall there was a thread here a couple of years ago that discussed the issue — but I can't find it right now... (maybe someone else will) .

Upd: I think this is what I remembered: Clash between IO layers and "in memory" files?.

  • Comment on Re: Perl 5.12: layers and opening scalars as file handles

Replies are listed 'Best First'.
Re^2: Perl 5.12: layers and opening scalars as file handles
by afoken (Chancellor) on Sep 01, 2011 at 09:46 UTC
    It doesn't work for me with any of 5.8.4, 5.10.0, 5.10.1, 5.12.2 and 5.12.3 (those are the ones I have available for testing here). And IIRC, it never worked with any vanilla build of perl.

    So the program I'm debugging right now runs into code that was never executed on the old installation. Grrrr....

    Maybe your Slackware 5.10.0 had a specific patch applied?

    No, Slackware usually builds perl without extra patches. In SL13.0, there is a trivial multilib patch, but it is not applied on a 32 bit build. (Update: Same situation with 13.37: trivial multilib patch, applied only on x86_64)

    I think this is what I remembered: Clash between IO layers and "in memory" files?.

    Looks familiar. 4 years old and still not working. Oh well, it seems the real problem with the program is somewhere else.

    Thanks for testing, and for the link.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)