in reply to eval, but syntax-check only -- like perl -c
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*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: eval, but syntax-check only -- like perl -c
by dpuu (Chaplain) on Apr 24, 2003 at 21:14 UTC | |
by particle (Vicar) on Apr 25, 2003 at 03:04 UTC |