go ahead... be a heretic | |
PerlMonks |
Re^4: Test::Harness bug ? ... or author idiocy ?by syphilis (Archbishop) |
on Nov 06, 2021 at 12:57 UTC ( [id://11138500]=note: print w/replies, xml ) | Need Help?? |
Not a bug in Test::Harness after all. Cool ... creating bug reports always ends up in being more work than one anticipates. Thank you !! If I simply modify your code to include $|++; before the plan is printed then the script runs fine I thought that print "1..1\n" should flush the buffer immediately (because of the "\n") without any need to increment $|. And this notion is supported by the following one-liner that prints out a "." followed by a newline every second for 10 seconds: whereas this next one-liner (as expected) prints nothing for 10 seconds, and then immediately prints out all 10 dots: I don't doubt that I'm missing something pretty basic ... and I shudder to think what the answer might be .... but I'll ask the question "what is it that I'm missing ?", anyway ;-) Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|