T
Trans
Are we ready for
@x = 1
a = "x"
@{a} #=> 1
T.
@x = 1
a = "x"
@{a} #=> 1
T.
Are we ready for
@x = 1
a = "x"
@{a} #=> 1
Are we ready for
@x = 1
a = "x"
@{a} #=> 1
Eric said:PHP-style "variable variables" just lead to code that is too clever
for its own good. Using a Hash is a much more readable solution.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.