Swatch...hrottle(3pm)

πŸ’– Swatch...hrottle(3pm) πŸ’–

okay so bestie, welcome to the Swatch...hrottle(3pm) page, and yeah it lives under the User Contributed Perl Documentation umbrella. it's giving very niche, very perl, very "your sysadmin bestie wrote this at 2am". let's get into it ✨


πŸ’… NAME πŸ’…

Swatchdog::Throttle β€” a Perl extension for throttling and thresholding in swatchdog(1). periodt. that's the whole name section. short, sweet, iconic πŸŽ€


✨ SYNOPSIS ✨

here's the literal code, copied exactly so you can steal it for your own thing:

         use Swatchdog::Throttle;

         throttle(
                  extra_cuts => @array_of_regular_expressions,
                  hold_dhms => @DHMS,
                  key => 'log'|<regex>|<user defined>,
                  log_msg => <message>,
                  threshold => <n>,
                  time_from => 'realtime'|'timestamp',
                  time_regex => <regex>,
                 );

no cap, that's the whole vibe. load it, call throttle, pass it a bunch of named args. slay πŸ’…


πŸ¦‹ SWATCH SYNTAX πŸ¦‹

and when you're doing it inside swatch itself, the syntax is literally this, character for character:

         throttle threshold=<n>,\
                  delay=<hours>:<minutes>:<seconds>,\
                  key=log|regex|<regex>

yes bestie, backslashes are doing the line-continuation thing. it's giving "I know my shell" energy 🐚✨


πŸŽ€ DESCRIPTION πŸŽ€

okay so... this section is literally empty in the original. like, not a single sentence. no description. no lore. nothing. it's giving blank page, main character silence, mysterious mysterious πŸ’€

so we're not gonna invent anything, because that would be fake news. moving on bestie 🫢


πŸ‘‘ AUTHOR πŸ‘‘

this icon right here wrote it:

E. Todd Atkins, todd.atkins@stanfordalumni.org

give them their flowers πŸ’ they ate and left no crumbs.


🌈 SEE ALSO 🌈

go peek at these too, iykyk:

that's the whole friend group. no extras, no randoms. periodt πŸ’…


and that's a wrap, bestie. this page came from perl v5.36.0, dated 2023-01-20, and the whole thing is Swatch...hrottle(3pm). mwah πŸ’‹ stay throttled, stay thresholded, stay iconic βœ¨πŸ’–

πŸ“¦ where this page comes from