From 51befe33324263403f602d8b1598cec328c2b226 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Tue, 5 Nov 2024 16:25:08 +0100 Subject: [PATCH] ESConfig: clean up imports --- lib/MetaCPAN/ESConfig.pm | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/lib/MetaCPAN/ESConfig.pm b/lib/MetaCPAN/ESConfig.pm index d06a53998..954184fbe 100644 --- a/lib/MetaCPAN/ESConfig.pm +++ b/lib/MetaCPAN/ESConfig.pm @@ -1,19 +1,18 @@ use v5.20; use warnings; -use experimental qw(signatures postderef); +use experimental qw( signatures postderef ); package MetaCPAN::ESConfig; -use Carp qw(croak); -use Const::Fast qw(const); -use Exporter qw(import); -use MetaCPAN::Util qw(root_dir); -use Module::Runtime qw(require_module $module_name_rx); +use Carp qw( croak ); +use Const::Fast qw( const ); use Cpanel::JSON::XS (); -use Hash::Merge::Simple qw(merge); +use Exporter qw( import ); +use Hash::Merge::Simple qw( merge ); use MetaCPAN::Server::Config (); -use MetaCPAN::Types::TypeTiny qw(HashRef Defined); -use Const::Fast qw(const); +use MetaCPAN::Types::TypeTiny qw( Defined HashRef ); +use MetaCPAN::Util qw( root_dir ); +use Module::Runtime qw( $module_name_rx require_module ); const my %config => merge( {