Mojo::HelloWorld(3)

πŸ’– Mojo::HelloWorld(3) β€” bestie's guide to the littlest Mojolicious app πŸŽ€

okay so picture this: a Perl module so tiny, so iconic, so absolutely doing-the-most-with-very-little. That's Mojo::HelloWorld, from the User Contributed Perl Documentation, and honestly? She's the moment. ✨


🌸 NAME 🌸

Mojo::HelloWorld β€” Hello World! πŸ’…

That's it. That's the name. She said what she said.


πŸ¦‹ SYNOPSIS πŸ¦‹

Here's the whole vibe, literally three lines and you're live:

use Mojo::HelloWorld;

my $hello = Mojo::HelloWorld->new;
$hello->start;

Use the module, make a new one, start it. Slay. That's the entire ritual, no cap. πŸ”₯


πŸ’œ DESCRIPTION πŸ’œ

Mojo::HelloWorld is the default Mojolicious application, and it's used mostly for testing. πŸ§ͺ

Like, she's not out here running production empires. She's the demo. The vibe check. The "does this thing even boot" girlie. And she does it flawlessly, periodt.


πŸ‘‘ ATTRIBUTES πŸ‘‘

Mojo::HelloWorld inherits all attributes from Mojolicious. πŸ’–

No new ones, no secret extras, no hidden lore β€” she just takes everything from her parent and makes it work for her. Main character energy fr fr.


πŸŽ€ METHODS πŸŽ€

Mojo::HelloWorld inherits all methods from Mojolicious and implements the following new ones. Yes, "new ones" β€” plural setup, singular delivery, we love a minimalist queen. 🌈

⭐ startup ⭐

$hello->startup;

This is the one method she adds, and it's iconic: it creates a catch-all route that renders a text message. 🫢

Catch-all means she catches everything. Every path. Every request. No crumbs. And renders a text message back at you. Simple, effective, iconic. πŸ’…


🌟 SEE ALSO 🌟

Go check out her friends, they're all equally obsessed with you:


πŸ’– and that's the whole page, bestie β€” go build something cute πŸ’–

Signed off with love from perl v5.42.0, dated 2026-07-15 β€” same energy, same source, no notes. πŸ“βœ¨

πŸ“¦ where this page comes from