Do tiny refactoring.

I referred to syohex/emacs-flymake-cpanfile.