Net::S...reFork(3pm)

πŸ“¦
version 0.05 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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::Server
  • Server::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