in reply to Interactive Perl Interpreter

Simplistic (not as deep as the interactive debug: perl -de 42) but easy to work with:

perl -wlne 'eval; $@ and warn $@'