Punk documentation
Punk is a Perl MVC web framework that resolves and freezes everything -
routes, guard chains, handler coderefs, helpers, mounts - once, at
to_app time. Nothing is interpreted per request.
Start with Getting started, or jump to the guide for the part you need:
- Routing - routes, captures, guard scopes
- Controllers and the context
- Templates - Stencil views
- Models - sync and async database access
- Async - Punk::Future, timers, awaiting
- WebSockets and SSE
- OpenAPI - mount a 3.1 document
- Sessions and security
- Config and secrets
- The job queue - Punk::Queue and the Funky admin UI
- Deployment
The recipes hold worked examples, including
how this site is built with Punk's own
markdown mount.