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?
perl -c -e 'BEGIN{exit}; BEGIN{print "yay\n"};@&$^^#@!.' -e syntax OK [download]