You forget use Test::Exception. It contains throws_ok.
Update: BTW, there's also require_ok in Test::More
In reply to Re: testing a standalone script with parameters
by zwon
in thread testing a standalone script with parameters
by chexmix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |