perltidy
Perl script indenter and reformatter
Install
- All systems
-
curl cmd.cat/perltidy.sh
- Debian
-
apt-get install perltidy
- Ubuntu
-
apt-get install perltidy
- Arch Linux
-
pacman -S perltidy
- Kali Linux
-
apt-get install perltidy
- CentOS
-
yum install perltidy
- Fedora
-
dnf install perltidy
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install perltidy
- OS X
-
brew install perltidy
- Raspbian
-
apt-get install perltidy
- Dockerfile
- dockerfile.run/perltidy
perltidy
Perl script indenter and reformatter
Perltidy is a Perl script which indents and reformats Perl scripts to make them easier to read. The formatting can be controlled with command line parameters. The default parameter settings approximately follow the suggestions in the Perl Style Guide. Perltidy can also generate formatted HTML output from POD, and can even generate colored output in HTML for scripts. See examples at http://perltidy.sourceforge.net/