Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Header file management

by kcott (Chancellor)
on Apr 30, 2018 at 09:44 UTC ( #1213805=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1213805]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2018-07-22 11:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (454 votes). Check out past polls.

    Notices?