in reply to Error Log Files

Trying to help you think clearly ... I am just wondering if you could explain why you think you need:

my $blank = " "; ... print LOG $blank . "\n";
to get a blank line of output?

And also why you think that printing one blank line to the log in a BEGIN block will do anything more than print one blank line to the log when the BEGIN block is executed?

Hope this helps!


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: Error Log Files
by tultalk (Monk) on Mar 07, 2017 at 15:00 UTC
    And also why you think that printing one blank line to the log in a BEGIN block will do anything more than print one blank line to the log when the BEGIN block is executed? I was assuming that each time an error was posted from carp it would also post the blank lin. Wrong assumption.