docs::a...:Process(3)
β¨ NAME β¨
okay so this is docs::a...:Process(3), coming at you from User Contributed Perl Documentation, and it's literally the page for Apache2::Process β the Perl API for Apache process record. no cap, that's the whole name vibe. π
πΈ Synopsis πΈ
bestie, here's the exact little starter pack:
use Apache2::Process ();
use Apache2::ServerRec ();
my $proc = $s->process;
# global pool cleared on exit
my $global_pool = $proc->pool;
# configuration pool cleared on restart
my $pconf = $proc->pconf;
# short program name (e.g. httpd)
my $proc_name = $proc->short_name;
π Description π
Apache2::Process gives you the API for the Apache process object, and you can retrieve that object with $s->process. iconic behavior, honestly:
use Apache2::ServerRec ();
$proc = $s->process;
π§ API π§
Apache2::Process provides the following functions and/or methods β yes, all of them, we're not skipping a single one:
π pconf π
Get configuration pool object. slay.
$p = $proc->pconf();
- obj:
$proc(Apache2::Process object) - ret:
$p(APR::Pool object) - since:
2.0.00
This pool object gets cleared on server restart. so yeah, restart = bye-bye for that pool, bestie. π
π¦ pool π¦
Get the global pool object.
$p = $proc->pool();
- obj:
$proc(Apache2::Process object) - ret:
$p(APR::Pool object) - since:
2.0.00
This pool object gets cleared only on (normal) server exit. lowkey important: only on normal exit, okay? π
π short_name π
The name of the program used to execute the program. main character name energy.
$short_name = $proc->short_name();
- obj:
$proc(Apache2::Process object) - ret:
$short_name(string) β e.g."httpd" - since:
2.0.00
π See Also π
mod_perl 2.0 documentation. β your next stop, fr fr π«Ά
π Copyright π
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0. periodt. π
π«Ά Authors π«Ά
The mod_perl development team and numerous contributors. absolute icons. β¨
mwah π this little manual moment came from perl v5.42.3, dated 2023-10-21, and it's the docs::a...:Process(3) page. periodt. π
π¦ where this page comes from
- nixos 26.05: mod_perl 2.0.13
- nixpkgs unstable: mod_perl 2.0.13
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms