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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: how to check syntax of code inside a scalar?
by tilly (Archbishop) on Aug 04, 2010 at 18:46 UTC | |
by tjking (Novice) on Aug 04, 2010 at 19:42 UTC | |
by Crackers2 (Parson) on Aug 04, 2010 at 21:04 UTC | |
by snoopy (Curate) on Aug 04, 2010 at 21:55 UTC | |
by aquarium (Curate) on Aug 05, 2010 at 03:39 UTC | |
|
Back to
Seekers of Perl Wisdom