Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: use strict; before/after use warnings;

by boftx (Deacon)
on Nov 09, 2019 at 01:52 UTC ( [id://11108503]=note: print w/replies, xml ) Need Help??


in reply to use strict; before/after use warnings;

And is there any reason not to simply do this?

use strictures;

Not only does "strictures" turn on warnings, but also makes several of them fatal at the same time (though not the problematic ones.) I do this in all my code for $work since I know I am on a version of Perl that supports it.

You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.
  • Comment on Re: use strict; before/after use warnings;

Replies are listed 'Best First'.
Re^2: use strict; before/after use warnings;
by Your Mother (Archbishop) on Nov 09, 2019 at 03:20 UTC

    I do just that. But opinions differ pretty widely and somewhat strongly. So… :P

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-16 12:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found