In perl.qa, you wrote:
>>
>>     eval { ...code... };
>>     is( $@, '' );
>
>Yeah, except that doesn't print out $@ in case of failure.  If I'm
>checking that no exception occurs I want to know what the exception is
>when it happens.

But it does!  It says something like:

not ok 23
#     Failed test 1 (eval.t at line 69)
#          got: 'blah blah blah'
#     expected: ''


K.

-- 
Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.net/
"There are three degrees of being weird. There are: 1) Salvageably weird. 
2) Weird. 3) Irrevocably weird."  -- Carrie Fisher

Reply via email to