Beanstalk::Stats(3)
β¨ 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 π
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
- fedora 43: perl-Beanstalk-Client 1.07-36.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms