Tirex::Status(3pm)
π Tirex::Status π
okay bestie, so you found yourself deep in the Tirex::Status page β it lives in the User Contributed Perl Documentation corner of the manual-verse, and it's literally all about the status of the running master daemon in shared memory. slay.
β¨ NAME β¨
Tirex::Status β the vibe check on your running master daemon's status, stored in shared memory π«Ά
πΈ SYNOPSIS πΈ
my $status = Tirex::Status->new();
periodt. that's the whole flex.
π¦ DESCRIPTION π¦
This package manages the status of the master daemon in shared memory. no cap, that's its whole job. it's giving shared-memory caretaker, and it's iconic for it. π
π METHODS π
π Tirex::Status->new( master => 1 );
If 'master' is true, the shared memory is created β and then destroyed afterwards. Only the master server should do this. like, only the master server, bestie, do not try this at home unless you are the master server. π
π $status->destroy()
Destroy shared memory segment. poof. gone. rest in pieces, memory segment π
π $status->update(key1 => val1, key2 => val2, ...)
Update shared memory with the current status. Call it with key-value pairs that should be added to status. it's giving little status update, main character energy β¨
π $status->write($string)
Write a string into shared memory. just yeet that string in there π
π $status->read()
Read a string from shared memory.
Returns the string read, or undef if the shared memory was not accessible. yeah, if it can't get in, you get undef β no string, no vibe, just undef π
and that's the whole page, bestie!! ππ§
this was Tirex::Status(3pm) from perl v5.40.1, dated 2026-08-09 β mwah, love that for us, bye ππ
π¦ where this page comes from
- ubuntu stonking: tirex 0.8.0+ds-2build3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms