in reply to Perl bug or magic?
Abigail has the right answer, but I'd like to make the comment that it's just another case where putting un-needed quotes around variables can bite you.
You should really have written: my %h = map { $_ => 1 } qw(id title full_text);
gav^
|
---|
In Section
Seekers of Perl Wisdom