I've been bitten by this before.
The can_ok method does not support a message. It takes a list of methods to test. The message is being treated as a method name, which obviously fails.
can_ok('YMD::WWW::DB','connect');
should do what you want.
In reply to Re: Can't find my method . . .
by gwadej
in thread Can't find my method . . .
by hesco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |