CPANGRAPH(1p)

πŸ“¦
version 0.19 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ 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 the VERSION you 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-runtime PHASE. 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