3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-04 11:09:32 +01:00
pbot/lib/PBot/Imports.pm
Pragmatic Software 208df255a1 Update comment
2023-04-13 23:42:46 -07:00

37 lines
677 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.20'
feature->import::into($target, ':5.20');
# use utf8
utf8->import::into($target);
# use signatures
feature->import::into($target, 'signatures');
# no warnings => 'experimental';
warnings->unimport::out_of($target, 'experimental');
}
sub unimport {}
1;