NAME
Perl::CodeMap - Static Perl package dependency map and offline source browser
SYNOPSIS
use Perl::CodeMap;
my $cm = Perl::CodeMap->new(root => '.', parser => 'auto');
my $data = $cm->analyze;
$cm->write_report($data, output => 'code-map.html', json => 'code-map.json');
DESCRIPTION
Scans Perl files without executing them, extracts package declarations, subroutines and statically recognizable dependencies, and creates one self-contained interactive HTML report. PPI is preferred; the limited zero-dependency parser is an explicit fallback.
AUTHOR
Scott Muller <scott@21h.io>
COPYRIGHT AND LICENSE
Copyright (c) 2026 Scott Muller. This program is distributed under the MIT License. See LICENSE and NOTICE.md for attribution and third-party notices.