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

Dooley, Michael Dooley.Michael at con-way.com
Wed Dec 3 13:36:22 CST 2003

my $var3="$var1$var2"; 
print "$hash{$var3}"; #this works.


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

More information about the Chicago-talk mailing list