diff options
author | Eric Wong <e@80x24.org> | 2023-09-11 09:41:28 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-09-11 18:51:14 +0000 |
commit | 3005c1bc5d053222892553f14334d86febb72797 (patch) | |
tree | c90aa738a5eb383b11b5eebf9a694d8725e3475f /t/ds-kqxs.t | |
parent | d98a23c63ae1da65b8521fdd6faa9e9fb5f898e9 (diff) | |
download | public-inbox-3005c1bc5d053222892553f14334d86febb72797.tar.gz |
This allows us to cut down on imports and reduce code. This also makes it easier (in the next commit) to provide an option to disable epoll/kqueue when saving an FD is valued over scalability.
Diffstat (limited to 't/ds-kqxs.t')
-rw-r--r-- | t/ds-kqxs.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/ds-kqxs.t b/t/ds-kqxs.t index 43c71fed..57acb53f 100644 --- a/t/ds-kqxs.t +++ b/t/ds-kqxs.t @@ -1,9 +1,9 @@ -# Copyright (C) 2019-2021 all contributors <meta@public-inbox.org> +# Copyright (C) all contributors <meta@public-inbox.org> # Licensed the same as Danga::Socket (and Perl5) # License: GPL-1.0+ or Artistic-1.0-Perl # <https://www.gnu.org/licenses/gpl-1.0.txt> # <https://dev.perl.org/licenses/artistic.html> -use strict; +use v5.12; use Test::More; unless (eval { require IO::KQueue }) { my $m = $^O !~ /bsd/ ? 'DSKQXS is only for *BSD systems' |