diff options
author | Eric Wong <e@80x24.org> | 2019-02-13 22:44:42 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-02-13 22:55:11 +0000 |
commit | 17b71a0c6265677275718771b35adb08ed480db8 (patch) | |
tree | a05c27bd460a24aa5f5c3de7b07d16d5829b5120 /lib/PublicInbox/WWW.pm | |
parent | e74c5fbca438166ce99f3466cf960c3baf8805b2 (diff) | |
download | public-inbox-17b71a0c6265677275718771b35adb08ed480db8.tar.gz |
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.
Diffstat (limited to 'lib/PublicInbox/WWW.pm')
-rw-r--r-- | lib/PublicInbox/WWW.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm index 406802a9..cbaf8845 100644 --- a/lib/PublicInbox/WWW.pm +++ b/lib/PublicInbox/WWW.pm @@ -14,6 +14,7 @@ package PublicInbox::WWW; use 5.008; use strict; use warnings; +use bytes (); # only for bytes::length use PublicInbox::Config; use PublicInbox::Hval; use URI::Escape qw(uri_unescape); |