See Why it's Stupid to use a Variable as a Variable Name. You want to use a hash that has your variable names as keys and references to the variables you use.
Update: Link fixed, thanks to Roy Johnson
In reply to Re: dynamically picking up Hashes or variables based on argument passed.
by Corion
in thread dynamically picking up Hashes or variables based on argument passed.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |