Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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?
[Corion]: Discipulus: Haha ;) I hadn't made the connection to Strawberry Perl at all ;)
[Discipulus]: yesterday i changed som plumb filters at home.. neoperl ..
[Corion]: :-D Perl is everywhere!
[choroba]: Discipulus: Ha! Sane dot award 2016!

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2017-01-20 10:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (174 votes). Check out past polls.