Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Perl format line breaking, $FORMAT_LINE_BREAK_CHARACTERS apparently ignored

by Anonymous Monk
on Sep 14, 2012 at 01:17 UTC ( #993611=note: print w/ replies, xml ) Need Help??


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)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993611]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2015-07-29 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (267 votes), past polls