Subject: | Chagnes to CGI::Carp in 3.47 break TT and exception handling |
CGI::Carp now does this before ever calling realdie, even if we're in an
eval:
# if $arg is a reference, give it a chance to
# be stringified
$arg = "$arg" if ref $arg;
$arg = join '' => $arg, @rest ;
That turns all object exceptions into strings, and re-throws them as
strings. This breaks everything that depends on object-based exceptions,
including Template Toolkit. (We noticed this because it causes Bugzilla
to entirely not function correctly.)