$ perl -Mwarnings -Mstrict -e 'my $bar = { foo => () }' Odd number of elements in anonymous hash at -e line 1.