Net::S...reFork(3pm)
π NAME π
Net::Server::SS::PreFork β a hot-deployable variant of Net::Server::PreFork
Bestie. Listen. This is a whole Net::Server personality, okay? And it's the hot-deployable one. Iconic. π¦
β¨ SYNOPSIS β¨
Straight from the command line, like a queen:
% start_server --port=80 my_server.pl
And inside your my_server.pl, you're gonna write this:
use base qw(Net::Server::SS::PreFork);
sub process_request {
#...code...
}
__PACKAGE__->run();
That's it. That's the whole vibe. π
πΈ DESCRIPTION πΈ
Okay so Net::Server::SS::PreFork is a Net::Server personality β which is just fancy speak for "a flavour of Net::Server you can inherit from" β and the way that it works is it extends Net::Server::PreFork so that it can be run by the start_server script of Server::Starter. π
That's the tea. Hot-deployable. No downtime. Main character energy. π₯
π AUTHOR π
Kazuho Oku <kazuhooku@gmail.com>
Copyright (C) 2009 Cybozu Labs, Inc.
Shoutout to the author, fr fr. π«Ά
π¦ SEE ALSO π¦
Net::ServerServer::Starter
Go read those too, iykyk. π
π LICENSE π
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
And that's a wrap, bestie! This page is from the User Contributed Perl Documentation manual, churned out by perl v5.36.0 on 2022-12-10. Periodt. πβ¨ππ¦πΈ
π¦ where this page comes from
- debian bookworm: libnet-server-ss-prefork-perl 0.05-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libnet-server-ss-prefork-perl 0.05-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libnet-server-ss-prefork-perl 0.05-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libnet-server-ss-prefork-perl 0.05-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libnet-server-ss-prefork-perl 0.05-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms