Plack::...starter(3)
β¨ NAME β¨
Plack::Loader::Restarter β bestie, it's literally the Restarting loader π
(also, hi, you're reading the Plack::...starter(3) page from the User Contributed Perl Documentation set, so you know it's giving official-but-also-a-little-feral π)
πΈ SYNOPSIS πΈ
plackup -r -R paths
okay so that's the whole vibe right there. two little flags and you're off π¦
π DESCRIPTION π
So Plack::Loader::Restarter is a loader backend, right? And what it does is implement the -r and -R options for the plackup script. That's its whole job. That's its moment. π
Here's the tea on how it actually works:
- it forks the server as a child process πΌ
- the parent sits there watching the directories for file updates π
- and the second it gets that notification β like, whenever it receives it β it kills the child server and restart πβ¨
no cap, that's it. touch a file, baby server gets yoinked, new one spawns. main character energy fr fr.
ngl the killing part sounds mean but that's literally the point, it's a restarter, that's the whole personality π«Ά
π SEE ALSO π
Plack::RunnerπCatalyst::Restarterπ§‘
and that's the page bestie!! π this was written for perl v5.42.3, dated 2026-10-18, so if you're reading it way later just know she's an icon and she's doing her best βπ mwah, go restart something ππ₯
π¦ where this page comes from
- fedora 43: perl-Plack 1.0055-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-Plack 1.0055-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms