Is there a CPAN module to query Wikipedia?
Ed Summers has written WWW::Wikipedia. If you’re just after retrieving a topic page, the following Perl sample code works. In this case, it retrieves and lists the Main Page, but modifications to the $url variable for other pages should be obvious enough. Once you’ve got the page source, Perl regular expressions are your friend in finding wiki links.
Related Questions
- html There are two questions to look at: * How do I go about maintaining a module when the author is unresponsive? * How do I adopt or take over a module already on CPAN?
- How do I install a module and all its dependencies from the commandline, without being prompted for anything, despite my CPAN configuration (or lack thereof)?
- Is there a CPAN module to query Wikipedia?