Dist::Z...listdeps(3)

✨ NAME ✨

Dist::Zilla::App::Command::listdeps β€” literally just prints your distribution's prerequisites, bestie πŸ’… (it's the Dist::Z...listdeps(3) page, the one from User Contributed Perl Documentation, if you were wondering where you even are rn)

πŸ“Œ VERSION πŸ“Œ

version 6.040 β€” not me giving you the exact number because details matter πŸŽ€

🫢 SYNOPSIS 🫢

$ dzil listdeps | cpan

One line. One pipe. Whole dependency situation handled. Iconic honestly. ✨

πŸ’– DESCRIPTION πŸ’–

Okay so this is a command plugin for Dist::Zilla. It gives you the listdeps command, and what that command does is print your distribution's prerequisites. That's it, that's the whole vibe.

And the reason that's slay? Because you can pipe that list straight into a CPAN client like cpan and install all of the dependencies in one quick go. No scrolling, no copy-pasting fifteen module names, no crying. πŸ”₯

🌸 PERL VERSION 🌸

This module should work on any version of perl still receiving updates from the Perl 5 Porters. Which means: any version of perl released in the last two to three years. (Concretely β€” if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38.) πŸ¦‹

Heads up bestie: it may work on older versions of perl, but there is no guarantee that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl. So don't come for them about it. πŸ’€

🌈 OPTIONS 🌈

πŸ’« --author (or --develop) πŸ’«

Include author dependencies β€” the ones listed under develop_requires.

πŸ’« --missing πŸ’«

List only dependencies which are unsatisfied. Yes, just the problem children. πŸ™ˆ

πŸ’« --requires / --no-requires πŸ’«

Add required dependencies to the list (or don't).

Default: on.

πŸ’« --recommends / --no-recommends πŸ’«

Add recommended dependencies to the list (or don't).

Default: on.

πŸ’« --suggests / --no-suggests πŸ’«

Add suggested dependencies to the list (or don't).

Default: off.

πŸ’« --versions πŸ’«

Also display the required versions of listed modules.

πŸ’« --cpanm-versions πŸ’«

Also display the required versions of listed modules, but in a format suitable for piping into cpanm. Chef's kiss for the pipe girlies. πŸ‘‘

πŸ’« --json πŸ’«

Lists all prerequisites in JSON format, as they would appear in META.json (broken out into phases and types). Very structured. Very demure. Very mindful. ✨


πŸ† ACKNOWLEDGEMENTS πŸ†

This code was originally more or less a direct copy of Marcel Gruenauer (hanekomu) Dist::Zilla::App::Command::prereqs, updated to work with the Dist::Zilla v2 API. Shoutout to hanekomu, fr fr. 🫢

πŸ‘‘ AUTHOR πŸ‘‘

Ricardo SIGNES 😏 <cpan@semiotic.systems>

This software is copyright (c) 2026 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


and that's the whole page, bestie πŸ’– this one's shipped as perl v5.42.3, dated 2026-10-19, and it lives at Dist::Z...listdeps(3). go forth and pipe responsibly πŸŽ€βœ¨

πŸ“¦ where this page comes from