You should really have written: my %h = map { $_ => 1 } qw(id title full_text);
gav^
In reply to Re: Perl bug or magic? by gav^ in thread Perl bug or magic? by vladb