why run without the external call? without your reasoning, it's hard for me to see why any of the solutions posted so far are better... they're full of caveats. if you use File::Temp and perl -c the file, it will work, and can even be configured to clean up after itself. to a user, it should look the same, except it's probably less of a maintenance headache.
~Particle *accelerates*
In reply to Re: eval, but syntax-check only -- like perl -c
by particle
in thread eval, but syntax-check only -- like perl -c
by dpuu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |