Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Re: Perl syntax checking without `perl -c`
in thread Perl syntax checking without `perl -c`

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

Replies are listed 'Best First'.
Re^3: Perl syntax checking without `perl -c`
by LanX (Saint) on Dec 03, 2020 at 10:34 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-28 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found