Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2018-09-19 22:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Eventually, "covfefe" will come to mean:













    Results (170 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!