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