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

Re: Correct way to use stricures in CPAN module

by toolic (Bishop)
on Jul 13, 2017 at 14:16 UTC ( #1195033=note: print w/replies, xml ) Need Help??


in reply to Correct way to use stricures in CPAN module

That Perl.com article you reference states:
Perl 5.12 also enables strictures when it encounters use 5.012

I think the confusion is that the term "strictures" in the article loosely refers to the strict and warnings pragmas, which are part of the Core Perl distribution. The term does not refer to the strictures.pm module, which Corion pointed out is not part of the Core.

Adding use 5.012; will add strict and warnings, but it will not add strictures.

UPDATE: corrected mistake.

For giggles... The strictures, according to Seuss

Replies are listed 'Best First'.
Re^2: Correct way to use stricures in CPAN module
by haukex (Bishop) on Jul 13, 2017 at 17:00 UTC
    Adding use 5.012; will add strict and warnings

    Not quite, use with a version ≥ 5.012 doesn't enable warnings, just strict.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1195033]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2022-01-25 17:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (67 votes). Check out past polls.

    Notices?