in reply to eval, Read environment variable and expand using eval
while ($stmt = <DATA>) { eval $stmt; ... }
Yikes!
Surely, the two most important rules of using eval on data are:
Per rovf's reply, isn't there another way to parse your config file, or to structure your config file so it may be more easily parsed?
Update: Changed some emphases.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: eval, Read environment variable and expand using eval
by Anonymous Monk on Feb 19, 2010 at 13:48 UTC | |
by Anonymous Monk on Feb 19, 2010 at 14:09 UTC | |
by Anonymous Monk on Feb 19, 2010 at 14:38 UTC | |
by Anonymous Monk on Feb 19, 2010 at 15:05 UTC | |
by Anonymous Monk on Feb 19, 2010 at 22:39 UTC |