in reply to testing the exception throwing
Have you, uh, looked at what CPAN search provides for your search term?
Also, it's not really hard to write something like this yourself:
my $lives = eval { $some_obj->diediedie; 1; }; my $err = $@; ok $lives, "We can call ->diediedie" or diag "Died with '$err'";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: testing the exception throwing
by John M. Dlugosz (Monsignor) on May 13, 2011 at 07:54 UTC |