diff options
author | Eric Wong <e@80x24.org> | 2023-03-13 19:38:26 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-03-14 20:51:01 +0000 |
commit | 4e6e53f81be65deb261dad0ab7574acbd27cbc7d (patch) | |
tree | 1914622d3c0f70c210af3b35afdba6f02b169712 /lib/PublicInbox/Spamcheck/Spamc.pm | |
parent | 3a2c46e6f7bf650e69cf7c7b9e3d62843e6deab9 (diff) | |
download | public-inbox-4e6e53f81be65deb261dad0ab7574acbd27cbc7d.tar.gz |
No problems with `unicode_strings' in these modules. We can also shave our LoC count in a few places.
Diffstat (limited to 'lib/PublicInbox/Spamcheck/Spamc.pm')
-rw-r--r-- | lib/PublicInbox/Spamcheck/Spamc.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/PublicInbox/Spamcheck/Spamc.pm b/lib/PublicInbox/Spamcheck/Spamc.pm index d2b6429c..2f821532 100644 --- a/lib/PublicInbox/Spamcheck/Spamc.pm +++ b/lib/PublicInbox/Spamcheck/Spamc.pm @@ -1,10 +1,9 @@ -# Copyright (C) 2016-2021 all contributors <meta@public-inbox.org> +# Copyright (C) all contributors <meta@public-inbox.org> # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt> # Default spam filter class for wrapping spamc(1) package PublicInbox::Spamcheck::Spamc; -use strict; -use warnings; +use v5.12; use PublicInbox::Spawn qw(popen_rd spawn); use IO::Handle; use Fcntl qw(SEEK_SET); |