in reply to dynamically picking up Hashes or variables based on argument passed.

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

  • Comment on Re: dynamically picking up Hashes or variables based on argument passed.