Mojolicious is a real-time web framework for Perl, originally created by Sebastian Riedel — the author of Catalyst. It ships with no non-core CPAN dependencies and provides a fun, minimal API for routing, plugins, content negotiation, sessions, validation, and testing — all built on a non-blocking I/O event loop.
Two flavors ship together: Mojolicious::Lite for single-file apps (Sinatra-style) and full Mojolicious for larger MVC projects.
Real-time web framework for Perl. Non-blocking I/O, WebSockets, zero non-core deps.
✨ Features
Self-contained — no non-core CPAN modules required. Server, client, JSON, templates all included.
Built-in event loop. Handles thousands of WebSocket connections on a single process.
Express a whole web app in one Perl file — routes, templates (via __DATA__), and config inline.
First-class server- and client-side WebSocket support. Real-time push, chat, dashboards.
Pre-forking UNIX-optimized HTTP server with zero-downtime hot deployment via SIGUSR2.