Swatch::Throttle(3)

πŸ“¦
version 3.2.3 Β· 3 versions
, in epel 9

πŸ’… NAME πŸ’…

Hey bestie, meet Swatch::Throttle(3) β€” the Perl extension for throttling and thresholding in swatch(1). This is from User Contributed Perl Documentation, and it is short, iconic, and ready for your group chat. 🫢

✨ SYNOPSIS ✨

Okay so here's the exact call shape, no cap:

         use Swatch::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>,
                 );

Notice how key can be 'log', a <regex>, or <user defined>? That's the vibe. The page doesn't spell out each parameter beyond this, so I'm not gonna invent extra lore β€” we keep the facts pristine. πŸ’–

🌈 SWATCH SYNTAX 🌈

This is the swatch-side syntax, character for character:

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

πŸ¦‹ DESCRIPTION πŸ¦‹

Bestie, the DESCRIPTION section is literally empty in the original. No paragraphs, no secret details, no extra instructions. We are respectfully not making anything up. Periodt. πŸ’€

πŸŽ€ AUTHOR πŸŽ€

E. Todd Atkins, todd.atkins@stanfordalumni.org β€” iconic. πŸ‘‘

πŸ’œ SEE ALSO πŸ’œ


And that's the whole page, bestie: version perl v5.32.1, dated 2022-01-22, from the User Contributed Perl Documentation source for Swatch::Throttle(3). Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from