package Mail::Milter::Authentication::Pragmas; use 5.20.0; use strict; use warnings; # ABSTRACT: Setup system wide pragmas our $VERSION = '3.20241024'; # VERSION use base 'Exporter'; require feature; use open ':std', ':encoding(UTF-8)'; use Import::Into; use Mail::Milter::Authentication::Constants; use Mail::Milter::Authentication::Config; use Carp; use Clone; use English; use File::Slurp; use JSON::XS; use Module::Load; use Module::Loaded; use Mail::AuthenticationResults 1.20200108; use Mail::AuthenticationResults::Header; use Mail::AuthenticationResults::Header::AuthServID; use Mail::AuthenticationResults::Header::Comment; use Mail::AuthenticationResults::Header::Entry; use Mail::AuthenticationResults::Header::SubEntry; sub import { strict->import(); warnings->import(); feature->import($_) for ( qw{ postderef signatures } ); warnings->unimport($_) for ( qw{ experimental::postderef experimental::signatures } ); Mail::Milter::Authentication::Config->import::into(scalar caller,qw{ set_config get_config setup_config }); Mail::Milter::Authentication::Constants->import::into(scalar caller); Carp->import::into(scalar caller); Clone->import::into(scalar caller,qw{ clone }); English->import::into(scalar caller); File::Slurp->import::into(scalar caller, qw{ read_file write_file } ); JSON::XS->import::into(scalar caller); Module::Load->import::into(scalar caller); Module::Loaded->import::into(scalar caller); } 1; __END__ =pod =encoding UTF-8 =head1 NAME Mail::Milter::Authentication::Pragmas - Setup system wide pragmas =head1 VERSION version 3.20241024 =head1 AUTHOR Marc Bradshaw =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2020 by Marc Bradshaw. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut