I can replicate that the first snippet doesn't seem to output anything.Since you killed the process instead of letting it exit cleanly (e.g. using die or exit), it didn't get to flush its buffers.
Yes, hence my wording, which I've highlighted above. Or am I missing your point?
In reply to Re^4: Print inside SIGNALS
by haukex
in thread Print inside SIGNALS
by pedrete
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |