From: Chad Perrin Date: 2012-12-07T13:28:35+09:00 Subject: Re: What is wrong in this On Tue, Dec 04, 2012 at 09:00:56PM +0900, Jes�s Gabriel y Gal�n wrote: > > But there's another way. Instead of constructing a variable, you could > create a hash whose keys are the "variables": That's not just "another way" -- it's a much better way, for most purposes. If you can avoid using eval without complicating your code overmuch, you should, for purposes of not completely screwing up something by (for instance) plugging user input directly into an eval and ending up with horribleness being executed. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]