in reply to Re: eval, but syntax-check only -- like perl -c
in thread eval, but syntax-check only -- like perl -c
One of the nice things about the 'eval "sub { $txt }"' approach is that it gives me a code ref that I can call later if I want. This means that I can have a two-pass approach: in the first I gather/check all my fragments; and in the second I run selected ones. This isn't my current plan, but is nice to have the flexibility.
--Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: eval, but syntax-check only -- like perl -c
by particle (Vicar) on Apr 25, 2003 at 03:04 UTC |