in reply to Re^2: CGI::Carp sometimes fails
in thread CGI::Carp sometimes fails

if i understand right, you are printing the contents of a binary file into a log stream? why? It is not surprising that the printing crashes.

Replies are listed 'Best First'.
Re^4: CGI::Carp sometimes fails
by Bod (Parson) on May 19, 2024 at 10:50 UTC
    why?

    Because I was trying to debug some code and hadn't realised that the variable's content was a binary file!