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

Steven Lembark lembark at wrkhors.com
Wed Dec 3 17:57:18 CST 2003



-- "Dooley, Michael" <Dooley.Michael at con-way.com>

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

$hash{$subkey1,$subkey2} = $value

also works (see camel on composite keys).


--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 888 359 3508



More information about the Chicago-talk mailing list