in reply to Test::More usage to test functions that die
Howdy!
eval sets $@ if the code dies, so something like
will directly test that condition.ok($@, "no args passed");
yours,
Michael
Michael
|
---|
In Section
Seekers of Perl Wisdom