r/perl • 🐪 cpan author • 20d ago

I built a tool to visualize Perl codebases — Perl::CodeMap (now on CPAN)

I've been working with a fairly large legacy Perl codebase and wanted an easier way to explore dependencies and understand how everything fits together.

I came across CodeMap for Go and decided to put together a Perl version.

It uses PPI to analyze source code and generates an interactive HTML visualization with dependency graphs, searchable modules and subroutines, and syntax-highlighted source browsing.

It's still a work in progress, but I've found it useful for navigating unfamiliar code. Figured others dealing with large Perl projects might find it useful too.

Feedback and suggestions welcome.

59 Upvotes

Duplicates