Subject: | Errors in Synopsis |
Date: | Sun, 11 Dec 2011 09:44:30 -0500 |
To: | bug-WWW-DuckDuckGo [...] rt.cpan.org |
From: | Chuzzle Guevero <headprogrammingczar [...] gmail.com> |
http://search.cpan.org/~getty/WWW-DuckDuckGo-0.007/lib/WWW/DuckDuckGo/ZeroClickInfo.pm
http://search.cpan.org/~getty/WWW-DuckDuckGo-0.007/lib/WWW/DuckDuckGo/Link.pm
The synopsis code in ZeroClickInfo.pm has an unmatched closing brace,
which is hard to see because the innermost for loop is indented too far.
The Link objects returned by default_related_topics do not have a url
attribute, and should use first_url instead.
The "Heading: ..." and "The answer is: ..." lines should have newlines
added to the end, as right now it all gets smushed onto one line.