make items an explicit hashref to hand off to keys() for older versions of perl
Merge pull request #1 from tabashco/fix-hashref

make $items an explicit hashref to hand off to keys()