Adding Show Source to Perl Exceptions

by chromatic

Adrian Howard asked on PerlMonks is there any way to access the contents of a block eval?. After catching an exception in Perl, can you see the source code that threw the exception, without using a source filter?

I wrote many of my parts of Perl Hacks by trying to do impossible things that no one had ever done before. (I don't know that no one had ever done them, but I'd never heard of them before, which was close enough.) Because everyone thought it was impossible, I decided to try.


1 Comments

John Drago
2007-10-15 08:39:37
I wonder how we would solve this kind of problem with Perl6?