Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Correct way to use stricures in CPAN module

by toolic (Bishop)
on Jul 13, 2017 at 14:16 UTC ( [id://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 (Archbishop) 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?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-04-23 16:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found