PERLUTIL(1perl)
๐ perlutil โ the utilities that come with Perl, bestie ๐
Okay so real talk: this is the perlutil page from the Perl Programmers Reference Guide, manual section 1perl. It's basically the group chat roster for every little helper tool that shows up on your machine when Perl moves in. ๐ซถ
๐ธ NAME ๐ธ
perlutil โ utilities packaged with the Perl distribution. Yes that's it, that's the name, we love a straightforward queen. ๐
โจ DESCRIPTION โจ
So here's the vibe: alongside the Perl interpreter itself, the Perl distribution installs a whole range of utilities on your system. ๐ฆ
And lowkey? There are also several utilities that are used by the Perl distribution itself as part of the install process. iykyk.
This document exists to list all of these utilities, explain what they're for, and give you pointers to each module's documentation, if appropriate. It's giving โจdirectoryโจ. Periodt.
๐ LIST OF UTILITIES ๐
๐ Documentation ๐
perldocโ the main interface to Perl's documentation. And honestly if you're reading this, you've more than likely already found it, bestie. ๐ญperldocwill extract and format the documentation from any file in the current directory, any Perl module installed on the system, or any of the standard documentation pages, such as this one. Useperldoc <name>to get information on any of the utilities described in this document. Iconic behaviour, no cap.pod2manpod2textโ okay these two are a duo. If it's run from a terminal,perldocwill usually callpod2manto translate POD (Plain Old Documentation โ seeperlpodfor an explanation) into a manpage, and then runmanto display it. Ifmanisn't available,pod2textwill be used instead and the output piped through your favourite pager. ๐ซถpod2htmlโ as well as those two, there's another converter on the scene:pod2htmlwill produce HTML pages from POD. Slay.pod2usageโ if you just wanna know how to use the utilities described here,pod2usagewill just extract the"USAGE"section. Some of the utilities will automatically callpod2usageon themselves when you call them with-help. Helpful queen fr fr. ๐podcheckerโ if you're writing your own documentation in POD, thepodcheckerutility will look for errors in your markup. Writing arc, but make it validated. โจsplainโsplainis an interface toperldiag. Paste in your error message to it, and it'll explain it for you. It's giving therapist but for error messages. ๐งroffitallโ heads up bestie, theroffitallutility is not installed on your system but lives in thepod/directory of your Perl source kit. It converts all the documentation from the distribution to*roffformat, and produces a typeset PostScript or text file of the whole lot. Main character energy, honestly. ๐
๐ Converters ๐
pl2pmโ to help you convert legacy programs to more modern Perl, thepl2pmutility will help you convert old-style Perl 4 libraries to new-style Perl5 modules. Glow-up assistance. ๐
๐ ๏ธ Administration ๐ ๏ธ
libnetcfgโ to display and change the libnet configuration, run thelibnetcfgcommand. Simple as that, bestie. โจperlivpโ theperlivpprogram is set up at Perl source code build time to test the Perl version it was built under. It can be used after runningmake install(or your platform's equivalent procedure) to verify thatperland its libraries have been installed correctly. It's giving vibe check for your install. ๐
๐ฉโ๐ป Development ๐ฉโ๐ป
There are a set of utilities which help you in developing Perl programs, and in particular, extending Perl with C. ๐ค C is a lot, but we ball.
perlbugโperlbugused to be the recommended way to report bugs in theperlinterpreter itself or any of the standard library modules back to the developers. But that's changed: bug reports and patches should now be submitted tohttps://github.com/Perl/perl5/issues. Update your notes bestie, the old way is not it anymore. ๐perlthanksโ this program provides an easy way to send a thank-you message back to the authors and maintainers of perl. ๐ฅน It's justperlbuginstalled under another name. Same girl, different name tag. ๐h2phโ back before Perl had the XS system for connecting with C libraries, programmers used to get library constants by reading through the C header files. You may still seerequire 'syscall.ph'or similar around โ the.phfile should be created by runningh2phon the corresponding.hfile. See theh2phdocumentation for more on how to convert a whole bunch of header files at once. Bulk convert, we love efficiency. ๐ฆh2xsโh2xsconverts C header files into XS modules, and will try and write as much glue between C libraries and Perl modules as it can. It's also very useful for creating skeletons of pure Perl modules. Versatile icon. ๐enc2xsโenc2xsbuilds a Perl extension for use byEncodefrom either Unicode Character Mapping files (.ucm) or Tcl Encoding Files (.enc). Besides being used internally during the build process of theEncodemodule, you can useenc2xsto add your own encoding to perl. And the best part? No knowledge of XS is necessary. We love an accessible queen. ๐xsubppโxsubppis a compiler to convert Perl XS code into C code. It is typically run by the makefiles created byExtUtils::MakeMaker.
xsubpp will compile XS code into C code by embedding the constructs necessary to let C functions manipulate Perl values and creates the glue necessary to let Perl access those functions. Translating between two worlds, literally a bilingual bestie. ๐ซถ
proveโproveis a command-line interface to the test-running functionality ofTest::Harness. It's an alternative tomake test. ๐งชcorelistโ a command-line front-end toModule::CoreList, to query what modules were shipped with given versions of perl. Detective energy, but make it modules. ๐
๐ General tools ๐
A few general-purpose tools are shipped with perl, mostly because they came along with modules included in the perl distribution. They're the plus-ones of the module world. ๐
encguessโencguesswill attempt to guess the character encoding of files. ๐ฎjson_ppโjson_ppis a pure Perl JSON converter and formatter. โจpiconvโpiconvis a Perl version oficonv(1), a character encoding converter widely available for various Unixen today. This script was primarily a technology demonstrator for Perl v5.8.0, but you can usepiconvin the place oficonvfor virtually any case. Honestly? Slay. ๐ptarโptaris a tar-like program, written in pure Perl. ๐ptardiffโptardiffis a small utility that produces a diff between an extracted archive and an unextracted one. (Note that this utility requires theText::Diffmodule to function properly; this module isn't distributed with perl, but is available from the CPAN.) Bestie, install your dependencies. ๐ญptargrepโptargrepis a utility to apply pattern matching to the contents of files in a tar archive. ๐ต๏ธshasumโ this utility, that comes with theDigest::SHAmodule, is used to print or verify SHA checksums. ๐งฎstreamzipโstreamzipcompresses data streamed to STDIN into a streamed zip container. ๐zipdetailsโzipdetailsdisplays information about the internal record structure of the zip file. It is not concerned with displaying any details of the compressed data stored in the zip file. Structural tea only, no content gossip. ๐
๐ฆ Installation ๐ฆ
These utilities help manage extra Perl modules that don't come with the perl distribution. Your add-on era. ๐
cpanโcpanis a command-line interface toCPAN.pm. It allows you to install modules or distributions from CPAN, or just get information about them, and a lot more. It is similar to the command line mode of theCPANmodule,
perl -MCPAN -e shell
instmodshโ a little interface toExtUtils::Installedto examine installed modules, validate your packlists and even create a tarball from an installed module. All that? From one little shell? Obsessed. ๐
๐ SEE ALSO ๐
perldoc, pod2man, pod2text, pod2html, pod2usage, podchecker, splain, pl2pm, perlbug, h2ph, h2xs, enc2xs, xsubpp, cpan, encguess, instmodsh, json_pp, piconv, prove, corelist, ptar, ptardiff, shasum, streamzip, zipdetails
Go read them. Not all of them at once, bestie, hydrate first. ๐ง
And that's the whole page, periodt. ๐ซถ This was perlutil from perl v5.44.0, dated 2026-10-17. Manual section PERLUTIL(1perl). Stay iconic, go use perldoc when you forget something. ๐
โจ
๐ฆ where this page comes from
- arch rolling: perl 5.44.0-1 ยท Artistic-1.0-Perl AND GPL-1.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms