B::PerlReq(3pm)
π B::PerlReq β bestie's guide to snitching on your Perl deps π
okay so. this is B::PerlReq, a manual page, and honestly? it's giving quiet overachiever. it's a Perl compiler backend whose whole personality is extracting Perl dependencies. that's it. that's the job. and it does it beautifully. π
β¨ NAME β¨
B::PerlReq β Perl compiler backend to extract Perl dependencies π¦
like. the name literally tells you everything. no notes. π
πΈ SYNOPSIS πΈ
perl -MO=PerlReq[,-strict][,-relaxed][,-v][,-d] prog.pl
that bracket situation is optional flags, bestie. mix and match, pick your faves, go off. β¨
π DESCRIPTION π
so here's the tea. B::PerlReq is a backend module for the Perl compiler (periodt), and its whole thing is that it extracts dependencies from Perl source code.
but β and this is the iconic part β it doesn't do the messy "read the text and guess" thing. no no. it works based on the internal compiled structure that Perl itself creates after parsing a program. π she's reading Perl's own diary. the source of truth. the inside scoop.
the output of B::PerlReq is suitable for automatic dependency tracking β like, say, for RPM packaging. so if you're building packages and you need to know what a Perl script actually needs to run? yeah. this. this is the one. π₯
π OPTIONS π
one bullet per flag, no skips, no crumbs. let's go. π«Ά
-strictβ operate in strict mode. for the deets, go peek atperl.req. iykyk. π-relaxedβ operate in relaxed mode. also wants you to go readperl.reqfor details. the chill sibling to-strict. πΈ-v,--verboseβ spill extra information about the work being done. like when your bestie narrates literally everything they're doing and you're just nodding along. π¬-d,--debugβ turn on debugging output. and heads up, queen: this one implies the--verboseoption. so you don't get to have debug without the chattiness. they're a package deal. π
quick vibe check: both-strictand-relaxedpoint you atperl.reqfor the actual details, fr fr. that's where the lore lives.
π¦ AUTHOR π¦
written by Alexey Tourbin <at@altlinux.org>. shoutout to the icon who built this. π«‘π
π COPYING π
copyright (c) 2004, 2006 Alexey Tourbin, ALT Linux Team.
this is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. slay, honestly. π³οΈπ
π SEE ALSO π
go read these next, bestie, they're all part of the same friend group:
BB::DeparseModule::InfoModule::ScanDepsperl.req
and that's the whole page!! πβ¨ππ¦πΈπ π«Άππβπ
this little lovie shipped as part of perl v5.42.3, dated 2026-08-19, and it lives in the manual as B::PerlReq(3pm) β mwah, no cap, go extract some dependencies. ππ
π¦ where this page comes from
- ubuntu stonking: libb-perlreq-perl 0.82-8build5 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms