in reply to Re: Ram file bug?
in thread Ram file bug?

I would have imagined that it would have been the behaviour anyway, even on Windows

Actually, that was exactly what I was trying to verify when I encountered the bug. Any normal file opened without specifying ':raw' gets ':crlf' by default. I just wanted to confirm that if I wrote to a ram file, then wrote the result to disk that I wouldn't get the crlf translation twice.

Instead, I got nothing at all :)


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^3: Ram file bug?
by Anonymous Monk on Feb 16, 2006 at 11:25 UTC
    You proabably know that you can use open to change the defaults
      You proabably know that you can use open to change the defaults

      Actually, I didn't. Thanks for bringing it up, I don't recall having seen it mentioned here before.

      That said, it doesn't appear to affect this particular case as it seems it only applies to the 2-arg varient on open and/or the STD* handles.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        open pragma ignores 3-arg variant of open
        This appears to have been fixed in the latest stable release perl-5.8.8.

        perldelta