![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
how to check syntax of code inside a scalar?by tjking (Novice) |
on Aug 04, 2010 at 18:33 UTC ( #852941=perlquestion: print w/replies, xml ) | Need Help?? |
tjking has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
I've got some scripts that dynamically load Perl snippets from the filesystem, setup a few things for them, and then run them through eval(). Is there a way to check the syntax of code contained inside a scalar without having to run 'perl -c' on the external file?
TIA
Back to
Seekers of Perl Wisdom
|
|