in reply to Perl format line breaking, $FORMAT_LINE_BREAK_CHARACTERS apparently ignored

IO::Handle->format_line_break_characters("\0");

Maybe you want STDOUT->format_line_break_characters("\0");

  • Comment on Re: Perl format line breaking, $FORMAT_LINE_BREAK_CHARACTERS apparently ignored

Replies are listed 'Best First'.
Re^2: Perl format line breaking, $FORMAT_LINE_BREAK_CHARACTERS apparently ignored
by trantorvega (Initiate) on Sep 14, 2012 at 08:24 UTC
    Apparently it's not a per-filehandle parameter, so that won't work.

      Apparently it's not a per-filehandle parameter, so that won't work.

      Not that its important given this feature never worked :), but

      $ perl - IO::Handle->format_line_break_characters("\0"); ^Z Can't locate object method "format_line_break_characters" via package +"IO::Handle" at - line 1.

      Using STDOUT->format_line_break_characters loads IO::Handle , but then format_line_break_characters dies -- it should have warned (so its not per handle, big deal)