Exports a selection of functions for dealing with XML (and similar; e.g. XHTML) data.
Performs an XPath query against the given document body.
<xpath query> <document string>
:emphasize-lines: 2-4 (xpath "//div[@id='main']/div[@class='post']/h2/a/text()" (http-get "http://kottke.org/")) ("The colors of friendship" "The adjective word order we all follow without realizing it" "Gene Wilder, master of the comedic pause" ...)
To install App::RoboBot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::RoboBot
CPAN shell
perl -MCPAN -e shell install App::RoboBot
For more information on module installation, please visit the detailed CPAN module installation guide.