More on that problem. The problem is that when a test is executed in
eval next thing done is:
my $exception=$@;
...
if($exception) {...}
And the trick is that Error.pm uses `overload' and in that case it would
return 0, which does not evaluate to `true' in if($exception)!!! It is
probably a bad design decision on behalf of Error.pm author, but still..
The fix is to change the above code to:
if(ref($exception) || length($exception)) { ... }
Andrew.
P.S. Is there anybody alive in that list? I've got no responce so far..
_______________________________________________
Perlunit-users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/perlunit-users