XP is just a number | |
PerlMonks |
Re^2: Any way to access the contents of a block eval?by adrianh (Chancellor) |
on Oct 12, 2007 at 12:56 UTC ( [id://644467]=note: print w/replies, xml ) | Need Help?? |
However, I don't see the use of this. The contents of an eval BLOCK doesn't change. What's the point of printing out something you already know? I was thinking of nicer default diagnostic messages for Test::Exception - so instead of writing:
you could just write
And still get a vaguely nice diagnostic
In Section
Seekers of Perl Wisdom
|
|