Fix cpanfile format

'on' syntax requires a sub.
Merge pull request #10 from agimenez/fix-cpanfile

Fix cpanfile format