in reply to Re^4: How to create a hash whose values are undef?
in thread How to create a hash whose values are undef?

Exactly (that's why I said "some other value").
Otherwise it could be done thus:
my %hash; @hash{@keys} = undef;
No need for the x operator. This sets the first value to undef, the others are unspecified so are set to undef as well.