diff options
author | Eric Wong <e@yhbt.net> | 2020-03-19 03:32:52 -0500 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-03-20 18:22:23 +0000 |
commit | c713cd419189cbe5cf72b6e60e846458985ffcdb (patch) | |
tree | c84731a327e46a09b6e45e7afd463e47f1dee8bb /lib | |
parent | b836c9d3a2053fa97a98cc38e1657d3266173c7e (diff) | |
download | public-inbox-c713cd419189cbe5cf72b6e60e846458985ffcdb.tar.gz |
"use" is also evaluated earlier than "require", so it is favorable for compile-only checking.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/WwwListing.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/WwwListing.pm b/lib/PublicInbox/WwwListing.pm index c063fca6..a8aecaf7 100644 --- a/lib/PublicInbox/WwwListing.pm +++ b/lib/PublicInbox/WwwListing.pm @@ -12,8 +12,8 @@ use PublicInbox::View; use PublicInbox::Inbox; use bytes (); use HTTP::Date qw(time2str); -require Digest::SHA; -require File::Spec; +use Digest::SHA (); +use File::Spec (); *try_cat = \&PublicInbox::Inbox::try_cat; sub list_all_i { |