in reply to Backdating strict
strict is a lexical pragma.
The practical significance of this is that you don't have to slap use strict at the top of your old code and swallow the whole elephant in one gulp. As you're revisiting your code to maintain or debug it, you can add strict one sub, or even just one block, at a time, gradually increasing the proportion of the code which is running under strict - and also limiting how much of it is broken at a time as you are in the process of improving it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Backdating strict
by Bod (Parson) on Dec 06, 2020 at 21:40 UTC | |
by AnomalousMonk (Archbishop) on Dec 06, 2020 at 23:45 UTC |