in reply to Header file management
G'day smaines,
Welcome to the Monastery.
Firstly, you have some redundant lines which wouldn't need to go into MyCommonUses.pm. The line:
use v5.18;
automatically gives you these:
use strict; use feature qw(state say);
Although, consider writing it like this (see use for an explanation):
use 5.018;
In terms of your main question, there's something very similar to that on CPAN: Modern::Perl. The source code for that module may provide pointers for creating your MyCommonUses.pm.
— Ken
|
|---|