Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^6: how to check syntax of code inside a scalar?

by snoopy (Deacon)
on Aug 05, 2010 at 05:05 UTC ( #853027=note: print w/replies, xml ) Need Help??


in reply to Re^5: how to check syntax of code inside a scalar?
in thread how to check syntax of code inside a scalar?

I't wouldn't do the compile step, but because this happens early, it would pretty well bypass any syntax checking whatsoever:
perl -c -e 'BEGIN{exit}; BEGIN{print "yay\n"};@&$^^#@!.' -e syntax OK

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://853027]
help
Chatterbox?
[jedikaiti]: Hi, Monks
[marto]: heya jedikaiti!
[jedikaiti]: Cute Robot!
[jedikaiti]: How's life, marto?

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (18)
As of 2017-07-25 14:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (374 votes). Check out past polls.