$ perl -w -e "%tmpF->{ID} = 'foo'" Using a hash as a reference is deprecated at -e line 1.