Beanstalk::Stats(3)

πŸ“¦
version 1.07 Β· 2 versions
, in fedora 43

✨ Beanstalk::Stats ✨

okay bestie, gather round πŸ’– this is Beanstalk::Stats, a lil class from the User Contributed Perl Documentation corner of the perl manual universe β€” specifically section 3, the library-calls girlies. She's not complicated. She's literally just a vibe translator. πŸ¦‹


🌸 NAME 🌸

Beanstalk::Stats β€” a whole class whose entire job is to represent the stats results that come back from the beanstalk server. no cap. that's the gig. πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

okay so here's the whole flow, copy-paste it, she's cute:

my $client = Beanstalk::Client->new;

my $stats = $client->stats;

print $stats->uptime,"\n"

make a client, ask it for stats, print the uptime like the icon you are πŸ’… notice the method access β€” $stats->uptime β€” instead of digging around in a hash like a caveman. she ate. πŸ“


🌈 DESCRIPTION 🌈

It's a simple class that lets you access stuff by method instead of by raw hash keys. 🫢 The hash in question is the stats hash that the beanstalk server hands back from the stats, stats_job and stats_tube commands.

That's the whole thing. No surprises, no plot twists, just a lil object wrapper being its best self. ✨

πŸ’‘ heads up bestie: which methods are actually available depends on which command you ran β€” go peek at Beanstalk::Client to see what you get for each one. iykyk. 😭

πŸ’œ SEE ALSO πŸ’œ

  • Beanstalk::Client β€” the main character, the one who actually knows all the methods. go say hi. πŸ‘‹

🧚 AUTHOR 🧚

Graham Barr <gbarr@pobox.com> 🌸 wrote this one. respect the originator, she's serving legacy. πŸ’–


Copyright (C) 2008 by Graham Barr.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

fr fr, free software, same terms as Perl, iconic behavior, no notes. 🌈


and that's the page, bestie!! 🩷 brought to you by perl v5.42.0, dated 2025-07-25, straight out of the Beanstalk::Stats(3) manpage. now go print some uptime. slay. πŸ’…βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from