Perl: the Markov chain saw | |
PerlMonks |
Re^2: Perl syntax checking without `perl -c`by kcott (Archbishop) |
on Dec 03, 2020 at 02:37 UTC ( [id://11124562]=note: print w/replies, xml ) | Need Help?? |
G'day Rolf, "the problem is that imported functions can change the syntax" You make a very good point; I hadn't considered that. I've only downloaded individual files (e.g. Whatever.pm) and these are all integrated into a much bigger framework; there will, in a number of places, be modules that change syntax. I really just wanted to get on with some work while the SysAdmin folks dealt with the disaster recovery. Setting up the environment — which not only involves code but also databases, web servers, etc. — would likely take substantially longer than the recovery (and, as I indicated above, depending on services affected, may not even be possible at this time). "But these are kind of hairy workarounds, do you really think it's worth going down that road?" No, I don't think so. :-) For now, I'll just rely on my editor's syntax highlighting and my own experience. In a day or two, I can upload all my changes and test in the full environment. Thanks for your feedback. — Ken
In Section
Seekers of Perl Wisdom
|
|