On Wed, 5 Sep 2001, Stas Bekman wrote:
>
> I've mungled protocol/echo to do something fancier. Dunno whether it's
> worth adding or not. It's only fun if you run it with -v, and we can
> supply our own knowledge base to talk our way :)
way cool!
> +use constant HAS_ELIZA => eval { require Chatbot::Eliza;};
...
> +
> +plan tests => 1 + @test_strings, ['eliza'] && \&HAS_ELIZA;
but this should just be:
plan tests => 1 + @test_strings, test_module 'Chatbot::Eliza';
assuming TestProtocol::eliza only depends on Chatbot::Eliza.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]