in reply to Re: Any way to access the contents of a block eval?
in thread Any way to access the contents of a block eval?
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:
lives_ok { $o->something } 'something worked';
you could just write
lives_ok { $o->something };
And still get a vaguely nice diagnostic
ok - $o->something lived
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Any way to access the contents of a block eval?
by ikegami (Patriarch) on Oct 12, 2007 at 17:00 UTC | |
by adrianh (Chancellor) on Oct 16, 2007 at 13:16 UTC | |
Re^3: Any way to access the contents of a block eval?
by chromatic (Archbishop) on Oct 12, 2007 at 16:29 UTC |
In Section
Seekers of Perl Wisdom