in reply to Can't find my method . . .
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.
|
|---|