What I want to do is replace the function call:
my_function({'param1' => 123, 'param2' => 456});
with:
my %tmp = {'param1' => 123, 'param2' => 456};
my_function(%tmp);
I get the run-time error message:
Can't use string ("HASH(0x16cffb0)") as a HASH ref while "strict refs" in use
What am I doing wrong?