Tirex:...Tiledir(3pm)

✨ NAME ✨

Tirex::Munin::Tiledir β€” bestie it's the parent class for all the Tirex munin classes that are out here living off tiledir stats πŸ’… (this is a Perl module page, manual section 3pm, iykyk)


🫢 SYNOPSIS

my $m = Tirex::Munin::Tiledir::SomeSubclass->new(...)
$m->init();

okay so you don't instantiate this one directly, you go through a subclass, and then you call init(). that's the whole vibe ✨


🌸 DESCRIPTION

Tirex::Munin::Tiledir is the parent class for Tirex munin classes that use tiledir statistics πŸ’–

basically it's the mom friend πŸ‘‘ β€” the subclasses inherit from it, and this is where the shared tiledir-stats behaviour lives. no cap.


πŸŽ€ METHODS πŸŽ€

$m->init_data([ statsfile => '...' ])

init that data source, babes πŸ¦‹ it reads from a stats file.

  • if you do hand it a statsfile => '...', slay, that's the file it uses πŸ™Œ
  • if you don't pass one at all, it falls back to using 'stats_dir' from the config instead ✨ (that's the default, periodt)
ngl there's no more to it β€” one method, one optional arg, and she ate πŸ’…

okay that's the whole page bestie, love that for us 🫢

this was from the User Contributed Perl Documentation, running on perl v5.40.1, dated 2026-08-09 β€” mwah, bye πŸ’–

πŸ“¦ where this page comes from