perltidy

Perl script indenter and reformatter

Install

All systems
curl cmd.cat/perltidy.sh
Debian Debian
apt-get install perltidy
Ubuntu
apt-get install perltidy
Arch Arch Linux
pacman -S perltidy
image/svg+xml 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

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/

perl-tidy

Parses and beautifies perl source