CPANGRAPH(1p)
β¨ CPANGRAPH β¨
okay bestie, so this is cpangraph from the User Contributed Perl Documentation section of the manual (it's a 1p page, iykyk π
). It's literally the lil tool that draws you a graph of CPAN dependencies. no cap. π¦
πΈ NAME πΈ
cpangraph β Generate dependency chain graphs for CPAN modules π
π VERSION π
Version 0.12 β¨
π«Ά SYNOPSIS π«Ά
cpangraph [options] <file>
Options:
--help display a brief help message
--perl=VERSION filter those available in Perl core
--phase=PHASE filter those needed for a phase (e.g., build)
--rankdir controls the GraphViz 'rankdir' variable
--reverse graph reverse dependencies (dependents)
--verbose display additional debugging information
π OPTIONS π
--helpβ prints a brief help message to the standard output and then dips. that's it, that's the whole vibe π«‘--perl=VERSIONβ this one shows you the dependencies that have been chillin' in Perl core since theVERSIONyou hand it. π heads up tho: it does not currently know if a module got removed from core β but honestly that's an unlikely occurrence, so we move. π§ write your Perl versions like this:
5.008008 # for versions >= 5.8.8
5.010 # for versions >= 5.10
--phase=PHASEβ shows the dependencies needed for a given module's install-or-runtimePHASE. the available phases are:- runtime: required whenever the module is used π
- build: required to build the module π₯
- configure: these are required while preparing the module for build β¨
--rankdirβ in GraphViz, the'rankdir'attribute is the thing that controls which direction the nodes link up. if you set this, the graph goes left -> right instead of the default up-down linking. main character energy honestly. π--reverseβ makes a graph of the reverse dependencies of a package. aka the packages that depend on it, aka the dependent packages. it's giving "who's obsessed with me" ππ--verboseβ spills extra output that's useful while you're debugging. π
π DESCRIPTION π
this script uses the CPAN Database to build a graph of a package's dependencies β or its reverse dependencies (the dependent packages). periodt. πβ¨
π AUTHOR π
Adam Kennedy <adamk@cpan.org> π
π¦ SUPPORT π¦
for support details, bestie, please look at "perldoc CPANDB" and use the corresponding support methods. π«Ά
β LICENSE β
this has the same copyright and licensing terms as CPANDB. slay. π
and that's the whole page, babe π β this was CPANGRAPH(1p) from perl v5.36.0, dated 2023-10-01, and yes it really is that cute. bye bestie, go graph something β¨ππ¦
π¦ where this page comes from
- debian trixie: libcpandb-perl 0.19-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcpandb-perl 0.19-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcpandb-perl 0.19-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcpandb-perl 0.19-1 Β· Artistic-1.0-Perl OR 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