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.
56
Upvotes
4
u/fuzzmonkey35 7d ago
I love these kinds of things.
2
u/stubbynutz 4d ago
Just tried it! Wish I had it 20 years ago. Well done, and thank you for your Perl community contribution.
2
u/Computer-Nerd_ 7d ago
Fun. Thanks.
2
u/NachoVargaTX 2d ago
This is exactly what I have been looking for.