in reply to Re: Why doesn't this print when i omit the newline?
in thread Why doesn't this print when i omit the newline?

The first print should print everything on one line and the second all the lines (with newline), as obsevered by toolic at Re: Why doesn't this print when i omit the newline?.

I print to STDOUT and don't use select.

I don't do anything else in my code - it's as shown in the example.

Thank you and best regards, Karl

«The Crux of the Biscuit is the Apostrophe»

  • Comment on Re^2: Why doesn't this print when i omit the newline?

Replies are listed 'Best First'.
Re^3: Why doesn't this print when i omit the newline?
by Anonymous Monk on Dec 16, 2014 at 14:23 UTC

    Sorry, can't reproduce on Linux / v5.20 / IO::All v0.85. So I'll just throw out a couple more debugging guesses...

    If you replace my $io = io $0; with my $io = [qw/foo bar/]; (and perhaps drop the use IO::All;) I hope it works?

    Have you tried opening something other than $0?