in reply to Run a variable as a line of code?
You can easily read the $match and $replace values from a file and it is less dangerous than using eval (who knows what someone might have put in that file you just eval-ed?)
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Run a variable as a line of code?
by hardburn (Abbot) on Apr 04, 2006 at 16:39 UTC | |
|
Re^2: Run a variable as a line of code?
by CountZero (Bishop) on Apr 05, 2006 at 06:15 UTC |