Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: use strict; before/after use warnings;

by afoken (Chancellor)
on Nov 08, 2019 at 21:55 UTC ( [id://11108495]=note: print w/replies, xml ) Need Help??


in reply to Re^3: use strict; before/after use warnings;
in thread use strict; before/after use warnings;

My perl installations typically lag some versions behind, mostly due to lazyness. On my servers, I run Slackware. Currently, that means Slackware 14.2 and Perl 5.22. (Yes, it's the system perl. Slackware does not use Perl, but it comes with perl. So messing with the system perl is ok on Slackware.) On Windows, I have some Strawberry Perl running, an old 5.14 installation at home, a slightly newer version at work (I think 5.2x), still running dmake (so less than 5.26).

Mentally, I am still mostly at v5.12: Perl 5 with say, s///r, and use VERSION implying strict. So I generally start my code (both scripts and modules) with:

use v5.12; use warnings;

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-19 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found