in reply to Re: splitting directly to hash
in thread splitting directly to hash

I still think foreach is easier to read than map:
foreach(split /\s+/, $keys) {$hash{$_} = undef};