CocoaEngineering
FORMULAv5.44.0

perl for macOS

Highly capable, feature-rich programming language

Installation on macOS (Apple Silicon & Intel)

brew install perl

Package Metadata

Identifierperl
Current Version5.44.0
Tap Repositoryhomebrew/core
LicenseArtistic-1.0-Perl OR GPL-1.0-or-later
Upstream Homepagehttps://www.perl.org/
Last Verified2026-11-26T14:43:31Z

Runtime Dependencies (1)

gdbm

Engineering Caveats

By default non-brewed cpan modules are installed to the Cellar. If you wish
for your modules to persist across updates we recommend using `local::lib`.

You can set that up like this:
  PERL_MM_OPT="INSTALL_BASE=$HOME/perl5" cpan local::lib
And add the following to your shell profile e.g. ~/.profile or ~/.zshrc
  eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)"
Browse macOS Packages A–Z