3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-09 21:49:34 +01:00
pbot/lib/PBot/Imports.pm
2021-07-13 19:45:56 -07:00

35 lines
636 B
Perl

# File: Imports.pm
#
# Purpose: Boilerplate imports for PBot packages.
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
# SPDX-License-Identifier: MIT
package PBot::Imports;
use Import::Into;
sub import {
my $target = caller;
# use strict
strict->import::into($target);
# use warnings
warnings->import::into($target);
# use feature ':5.16'
feature->import::into($target, ':5.16');
# use utf8
utf8->import::into($target);
# no if $] >= 5.018, warnings => 'experimental';
warnings->unimport::out_of($target, 'experimental') if $] >= 5.018
}
sub unimport {
}
1;