eval sets $@ if the code dies, so something like
will directly test that condition.ok($@, "no args passed");
In reply to Re: Test::More usage to test functions that die
by herveus
in thread Test::More usage to test functions that die
by mkirank
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |