From 17b71a0c6265677275718771b35adb08ed480db8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 13 Feb 2019 22:44:42 +0000 Subject: ensure bytes::length is available to callers We were relying on Danga::Socket using the "bytes" pragma, previously. Nowadays, the "bytes" pragma is not recommended in general, but bytes::length remains acceptable for getting the byte-size of a scalar. --- t/search-thr-index.t | 1 + 1 file changed, 1 insertion(+) (limited to 't/search-thr-index.t') diff --git a/t/search-thr-index.t b/t/search-thr-index.t index ab6d1b0f..ed3e4e76 100644 --- a/t/search-thr-index.t +++ b/t/search-thr-index.t @@ -2,6 +2,7 @@ # License: AGPL-3.0+ use strict; use warnings; +use bytes (); # only for bytes::length use Test::More; use File::Temp qw/tempdir/; use PublicInbox::MID qw(mids); -- cgit v1.2.3-24-ge0c7