Perl-Sensitive Sunglasses | |
PerlMonks |
Re^6: Newline's creep in, while using Tie::Fileby Bod (Parson) |
on Nov 17, 2020 at 11:39 UTC ( [id://11123732]=note: print w/replies, xml ) | Need Help?? |
Can you honestly say you've never fat fingered a variable name or misremembered what you called a variable? Of course not...that's a normal part of coding isn't it regardless of the technology. The reason I have never added use strict; is not because of any ideological view. It is because when I learnt to use Perl in the early 1990's I did so out of necessity and by looking at a very limited pool of other people's code which either didn't include strictures or, if it did I didn't notice and found my code worked without it. Back then I didn't have internet access at home so couldn't look things up to learn best practice. I have experimented with turning on use strict; and got frustrated at having to declare variables before use so ended up not bothering. It sort of slowed down the initial code development although, granted, it may well have speeded things up down the line had I persevered. The reason I ask is because I have many, many lines of working Perl code in production and I know it would be beneficial for me to up my coding game. Not least because coding is not core to my business and it would make sense for me to employ a developer soon(ish). Improving how I code going forward and improving existing code will have to be part of that process.
In Section
Seekers of Perl Wisdom
|
|