The Amazing Sperlderman.

Overview.

The Amazing Sperlderman is a perl program that allows to write perl code in a web browser, execute it, and see the results.

It works by creating his own web server, launching a browser pointed to him, and communicating with it using Ajax.

A screenshot with Sperlderman in action

Changes.

19-jun-2007 Styles and javascript separated from the html. Faster exit.

17-jun-2007 Added authentication.

16-jun-2007 Added blocks file.

15-jun-2007 Added --debug option, minor changes in request to allow usage with proxies.

Documentation.

Command line options.

--auth
Authorization file to use. The file must contain user and password in first and second line.
--browser
Web browser to launch, firefox by default.
--debug
Show debug info on standard error.
--file
Select blocks file to use.
--host
Host address to bind, localhost by default. Pass empty string to bind to any address.
--port
Port number for server. If 0 or unspecified, it uses a random unprivileged port.
--serveronly
Do not launch browser.

Requisites.

Sperlderman uses the HTTP::Daemon module, wich many linux distributions do not include. You can install it from Cpan.

It also uses HTTP::Status, HTTP::Response, HTML::Entities, URI::Escape and Getopt::Long.

A web browser with Ajax capabilities is also required.

License.

The Amazing Sperlderman can be used and distributed under the same license as Perl.

Download.

Revision 16-jun-2007

© 2007 Julián Albo.

Valid XHTML 1.1! Valid CSS!