Closed nichtich closed 11 years ago
No DuckDuckGo plugin can function without the DDG module, and there is no official way to test them other than DuckPAN and the release tests, and there is no reason for this to change in the forseeable future. DuckPAN is available on CPAN, you can work from there. Closing this, as it is not a valid issue.
I managed to get the plugins running without DuckPAN by cloning https://github.com/duckduckgo/duckduckgo and running $ dzil authordeps | cpanm
. One could also write a Mockup replacement for DDG::Goodie
and DDG::Test::Goodie
to reuse DuckDuckGo Goodies in other context (for instance an IRC bot).
Yes, one could, but it is not supported ;-) I suggest you use the DuckDuckGo API if you want the goodies in an IRC bot. Besides being a lot easier (WWW::DuckDuckGo from CPAN), it just might solve some licensing issues, if there are any.
This module requires the Perl modules
DDG::Goodie
andDDG::Test::Goodie
which are not mentioned indist.ini
nor included in this repository. I finally found them in https://github.com/duckduckgo/duckduckgo (not on CPAN). No, I don't want to use duckpan but first just write and test a Goodie like any other Perl/CPAN module.