In Perl, how to deference temp hash passed as argument? : In Perl, how to deference temporary hash passed as argument to function?

    MyFunct({ 
        Param1 => “knob1”,
        Param2 => “knob2”
    });

     # this part never seems to work...
    sub MyFunct {
        my %param = %{shift()};

        my $p1 = $param{Param1};
         print “p1: $p1\n”;
    }




