Mojolicious is "Duct Tape For The HTML5 Web". It is powerful with no dependencies out of the box with RESTful routes, plugins, Perl-ish templates, session management, signed cookies, a testing framework, a static file server, I18N, first class Unicode support, and much more. It has a very clean, portable, and object oriented pure Perl API without any hidden magic and no requirements besides Perl 5.10.1. It has a full stack HTTP 1.1 and WebSocket client/server implementation with TLS, Bonjour, IDNA, Comet (long polling), chunking, and multipart support. It has a built-in async I/O Web server supporting EV pluggable event queue, Unix domain sockets, and hot deployment, perfect for embedding. Automatic CGI, FastCGI, and PSGI detection for any deployment situation. It has a JSON and XML/HTML5 parser with an advanced CSS3 selector support. The code is based upon years of experience developing Catalyst.
Xidel is a command line tool to download Web pages and extract data from them. It can download files over HTTP/S connections, follow redirections, links, or extracted values, and process local files. The data can be extracted using XPath 2.0, XQuery 1.0, and JSONiq expressions, CSS 3 selectors, and custom, pattern-matching templates that are like an annotated version of the processed page. The extracted values can then be exported as plain text/XML/HTML/JSON, or assigned to variables to be used in other extract expressions or be exported to the shell. There is also an online CGI service for testing.