in reply to Error reporting in Perl

The offending string might be very long. But maybe someone has a tool that saves eval-ed strings for debugging purposes?