Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Why can't I write to a custom log from a Catalyst application on SELinux/CentOSby LanX (Saint) |
on Feb 11, 2021 at 17:36 UTC ( [id://11128248]=note: print w/replies, xml ) | Need Help?? |
> close LOG; Hm ... I already mentioned $| https://perldoc.perl.org/perlvar#$OUTPUT_AUTOFLUSH Though the documentation says > forces a flush right away and after every write or print on the currently selected output channel. so, this means one has to select LOG before using it???° IO::Handle mentions a method autoflush BUT from my experience are opened handles per default unbuffered??? Or are they only line-buffered, and the OP forgot the trailing "\n"? °) and after some digging I found this in the FAQ
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|