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

why?

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