Changes for version 9.34 - 2023-09-11

  • Added support for serving static files with a prefix.
  • Deprecated Mojo::File::spurt in favor of Mojo::File::spew.
  • Added prefix attribute to Mojolicious::Static.
  • Added url_for_file method to Mojolicious::Controller.
  • Added file_path method to Mojolicious::Static.
  • Added spew method to Mojo::File. (genio)
  • Added encoding option to slurp method in Mojo::File. (genio)
  • Added url_for_asset and url_for_file helpers to Mojolicious::Plugins::DefaultHelpers.
  • Added favicon helper to Mojolicious::Plugin::TagHelpers.
  • Fixed support for module_true Perl feature in Mojolicious apps. (haarg)
  • Fixed a bug in Mojo::Promise where map could hang on false values after concurrency limit. (ilmari)
  • Fixed built-in templates to not require an internet connection. (hernan604)

Documentation

The Mojolicious Guide to the Galaxy
Contributing to Mojolicious
Cooking with Mojolicious
Frequently Asked Questions
Growing Mojolicious applications
Rendering content
Routing requests
Web Application Testing Made Easy
Get started with Mojolicious
Hypnotoad HTTP and WebSocket server
The Mojolicious command system
Morbo HTTP and WebSocket development server

Modules

Web development toolkit
HTTP content storage base class
File storage for HTTP content
In-memory storage for HTTP content
Minimal base class for Mojo projects
ByteStream
Naive in-memory cache
Collection
HTTP content base class
HTTP multipart content
HTTP content
HTTP cookie base class
HTTP request cookie
HTTP response cookie
Minimalistic HTML/XML DOM parser with CSS selectors
CSS selector engine
HTML/XML engine
HTTP date
Fast dynamic method dispatch
Event emitter base class
Exception base class
File system paths
HTTP headers
Hello World!
Home sweet home
Minimalistic event loop
Non-blocking TCP/IP and UNIX domain socket client
Non-blocking TCP and UNIX domain socket server
Non-blocking I/O stream
Non-blocking TLS handshake
Minimalistic JSON
JSON Pointers
Load all kinds of things
Simple logger
HTTP message base class
HTTP request
HTTP response
Parameters
Path
Promises/A+
Low-level event reactor base class
Low-level event reactor with libev support
Low-level event reactor with poll support
HTTP/WebSocket server base class
CGI server
Non-blocking I/O HTTP and WebSocket server
A production web serv...ALL GLORY TO THE HYPNOTOAD!
Tonight at 11...DOOOOOOOOOOOOOOOM!
Morbo backend base class
Morbo default backend
PSGI server
Pre-forking non-blocking I/O HTTP and WebSocket server
Perl-ish templates
Transaction base class
HTTP transaction
WebSocket transaction
Uniform Resource Locator
Upload
Non-blocking I/O HTTP and WebSocket user agent
Cookie jar for HTTP user agents
User agent proxy manager
Application server
User agent transactor
Portable utility functions
The WebSocket protocol
Real-time web framework
Command base class
Command line interface
Controller base class
Micro real-time web framework
Plugin base class
Perl-ish configuration plugin
Default helpers plugin
Embedded Perl Lite renderer plugin
Embedded Perl renderer plugin
Header condition plugin
JSON configuration plugin
Application mount plugin
Not quite YAML configuration plugin
Tag helpers plugin
Plugin manager
Generate dynamic content
Always find your destination with routes
Session manager based on signed cookies
Serve static files
MIME types
Validate values
Testing Mojo
ojo
Fun one-liners with Mojo

Provides

in lib/Mojo/Log.pm
in lib/Mojo/Server/PSGI.pm
in lib/Mojo/Util.pm