Fix cpanfile format

'on' syntax requires a sub.