in reply to Perl 5.8 no :crlf on Socket!!!!!!

I confirm that behaviour of your code is changed in 5.8.0 compared to 5.6.1. Sad.

Anyway, when I set PERLIO environment variable to ":raw" from command shell where perl runs, I got desired "65\n10\n65" result. Please notice that $ENV{PERLIO}=":raw"; in your program does not helps, probably because it's too late.

OTOH I'll try looking at your code in more detail later.

Courage, the Cowardly Dog.

Replies are listed 'Best First'.
Re: Re: Perl 5.8 no :crlf on Socket!!!!!!
by gmpassos (Priest) on Jul 24, 2002 at 06:37 UTC
    Now I put the $ENV{PERLIO} inside BEGIN and still doesn't 
    work with Perl 5.8-RC2.
    
    sub BEGIN { $ENV{PERLIO} = ":raw" ; }
    
    Tomorrow I will get the final release of 5.8 and compile, 
    bacause now is 3AM here!
    
    If someone already have the final release of Perl 5.8 
    compiled on Win32, please check this, if it still have the bug send your reply.
    
    "The creativity is the expression of the liberty".
    
      sub BEGIN{...} still not enough. Try changing your environment variable from control panel, or special bat file that starts your script, or whatever way you find appropriate.

      I tried 5.8.0 release, and also tried BEGIN{} block.

      BTW I asked p5p list for knowledge, and hope they will shed a light on this.

      Courage, the Cowardly Dog

        I made this too, but nothing! Put inside BEGIN was my last option for +Perl 5.8-RC2. I made: set PERLIO=:raw PS: i'm using Win2K. Maybe this can make some changes when I compiled +Perl. "The creativity is the expression of the liberty".