fix foodcritic errors
windows check is unncecessary
fixing typo
Merge pull request #8 from ranjib/foodcritic_fix

[COOK-2973] perl cookbook has foodcritic errors