On 8/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > In a message dated 2007-8-15 22:08:56 中国标准时间, [EMAIL PROTECTED] writes: > > Not if you turn off strict like the poster suggested. Then symrefs > are allowed, and you can access the an array by pretending that a > string containing the name of the array is an array reference. > > This is not, however, a good idea. > > > Yes you know this is not a good idea.I don't like to say what,but someone > others maybe say, > DON'T SUGGEST THIS BAD IDEA! > > --jeff pang
It is necessary to talk about bad ideas because you will undoubtedly run into code written in this way at some point. It is the same reason people talk about antipatterns*. This does not mean that you should use the method, but you should be aware of its existence. * http://en.wikipedia.org/wiki/Antipattern