Dear monks,
Probably a novice question: I often find myself putting the same few lines at the top of my programs – something like
use strict; use warnings; use feature 'say'; use utf8; binmode(STDOUT, ":utf8"); use Encode qw(decode_utf8 encode_utf8); use open qw(:encoding(UTF-8) :std); use List::Util 'shuffle'; use mygenericmodule;
Is there a way to include those other things in my own module, so I can just use mygenericmodule and get the rest of them along with it?
In reply to Passing on "use"s by Chuma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |