in reply to Re^2: Perl syntax checking without `perl -c` (bareword)
in thread Perl syntax checking without `perl -c`
"Hence you'll need to fake-export them too. ;)"
Yes, I was aware of that and even considered doing it. The main criteria, when thinking about doing that, were: how long that would take; how long disaster recovery would take; and, what useful coding I would not be doing while doing this instead.
I tend not to make too many mistakes. Mostly they involve keyboard errors: not pressing or releasing the shift key fast enough; hitting an adjacent key by mistake; and the like. E.g.
my @x = qw{a b c}: # slow release of shift: got ':' instead of ';' my $y - $x[2]; # hit adjacent key: got '-' instead of '='
Thankfully these are pretty rare and easily fixed.
Other types of errors, such as logic errors, are not syntax errors and are only found when testing.
— Ken
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Perl syntax checking without `perl -c` (bareword)
by LanX (Saint) on Dec 05, 2020 at 01:48 UTC | |
by kcott (Archbishop) on Dec 06, 2020 at 02:55 UTC |