$ perl deref_test.pl 1 $VAR1 = { 'a' => 1, 'b' => 2 }; HASH Can't use string ("2/8") as a HASH ref while "strict refs" in use at deref_test.pl line 14.