Could you use perltidy instead?
```
curl -L http://cpanmin.us | perl - App::githook_perltidy
cd convos/
githook-perltidy install
```
You might need "perl - --sudo" if you want to install it system wide.

https://metacpan.org/pod/App::githook_perltidy