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
- debian bookworm: swatch 3.2.4-5 Β· GPL-2.0-or-later
- debian trixie: swatch 3.2.4-5 Β· GPL-2.0-or-later
- ubuntu noble: swatch 3.2.4-5 Β· GPL-2.0-or-later
- ubuntu questing: swatch 3.2.4-5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms