Simplest way of serving local files over HTTP?

I've always admired Python's way of serving local files by simply doing:

$ python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ...

And I've been wondering if there's a way to achieve the same in Perl without requiring lots of dependencies from CPAN. This morning I just came out with this:

$ perl -Mojo -E 'a->static->paths(["."]);a->start' daemon
Server available at http://127.0.0.1:3000

It shows the file content, though it doesn't show the directory listing.

Is there any simpler way?…

Introductory class to Perl in Barcelona

Barcelona Perl Mongers will give an Introductory class to Perl on November 5th. We are granted access to a classroom thanks to the Universitat Politècnica de Catalunya and decided to give our time and expertise promoting Perl. So for a small fee we feed and give a t-shirt to the attendands.

If everything goes well we consider this a preparation for hosting more events in…

Celebrating Perl 6 with a full menu

Rakudo Star, the first [almost] complete and usable implementation of Perl 6, is expected to be released this Thursday, July 29. It is obvious that the community is looking forward to it as there has been a lot of talking, so the Barcelona Perl Mongers will be celebrating, taking advantage of the fact that it coincides with our monthly meeting.

We have prepared a pretty …