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

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".
  • Comment on Re: Re: Perl 5.8 no :crlf on Socket!!!!!!

Replies are listed 'Best First'.
Re: Re: Re: Perl 5.8 no :crlf on Socket!!!!!!
by Courage (Parson) on Jul 24, 2002 at 06:49 UTC
    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".
        I assure you, you did "set perlio=" in a wrong place. Put "print $ENV{PERLIO} at the start of your scripts, but remove BEGIN{$ENV{PERLIO}=":raw"} to see results.

        Didn't you run "set perlio" from Start/run"? From another console window?

        Courage, the Cowardly Dog