use strict; use warnings; use diagnostics; my $href = {}; my %hash; %hash = %{$href}; --Error-- This caused no error