in reply to Dynamic variables and strict
Again, yes, you can do that in Perl. But, you can do it not because Perl encourages to do so. You can do it because the powerful way to do it (eval) is designed to do much more useful and flexible stuff, yet leads to disaster if used improperly. Don't you just realize that "eval" is only a byte away from "evil"? ;-)
As to solution for your Real Problem (assuming it's really about configuration parsing), I would prefer to search on CPAN for various Config packages.
Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!
|
|---|