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.
In reply to Re: eval, Read environment variable and expand using eval
by AnomalousMonk
in thread eval, Read environment variable and expand using eval
by tart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |