[Chicago-talk] specifying 2 variables as 1 hash key

Andy Lester andy at petdance.com
Wed Dec 3 14:01:17 CST 2003


> print "$hash{$var1$var2}"; #this does not work.
> 
> I kind of need to use 2 variable in the has and would rather not create a
> 3rd variable to use as the hash Key. am I just not labeling the key
> properly?

Why are you quoting $hash{$var1$var2} at all?

xoa

-- 
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance



More information about the Chicago-talk mailing list