http://qs321.pair.com?node_id=887074


in reply to Re: Unknown characters
in thread Unknown characters

I have tried chomp; what happens is when i then try to print the string it is empty.
When i length($msg); it still gives my a 46 back.

Replies are listed 'Best First'.
Re^3: Unknown characters
by Crackers2 (Parson) on Feb 08, 2011 at 22:37 UTC
    Did you remember to $|=1? Otherwise the reason you're not seeing any output at all is probably just buffering.
      yes :)