Perl::...t::HTML(3pm)

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

πŸ’– Perl::Metrics::Simple::Output::HTML(3pm) β€” the manual page, but make it cute πŸ’–

okay bestie, gather round πŸŽ€ this is the page for Perl::Metrics::Simple::Output::HTML, straight outta the User Contributed Perl Documentation. It's a little module that makes you an HTML report. That's it. That's the whole vibe. ✨


🌸 NAME 🌸

Perl::Metrics::Simple::Output::HTML β€” produce HTML report. πŸ“ŠπŸ’…

Like, it produces an HTML report. That's the job. Iconic, honestly.


✨ SYNOPSIS ✨

Here's the whole flow, no cap β€” copy it exactly, don't get creative with the spelling (iykyk πŸ‘€):

    $analysis =  Perl::Metrics::Simple->new()->analyze_files(@files);
    $html     = Perl::Metrics::Simple::Putput::HTML->new($analysis);
    print $html->make_report;

So the way this goes: you build up an $analysis by running Perl::Metrics::Simple->new()->analyze_files(@files), then you hand that $analysis over to Perl::Metrics::Simple::Putput::HTML->new($analysis) to get yourself an $html, and then β€” drumroll πŸ₯ β€” print $html->make_report; and boom, HTML report. Slay. πŸ¦‹

πŸ’€ Not me pointing this out but: in the SYNOPSIS it's spelled Putput β€” that's exactly how it appears in the original, so we're keeping it character-for-character. Not a typo of mine, bestie, I promise. πŸ™ˆ (The NAME section says Output, so… make of that what you will. We do not fix, we do not merge, we do not invent. Periodt. πŸ‘‘)

Sign-off time 🫢 β€” this page lives in perl v5.36.0, dated 2023-09-29, and it's filed under Perl::...t::HTML(3pm) in the User Contributed Perl Documentation. Go forth and generate HTML, you main character. πŸŒˆπŸ’œ

πŸ“¦ where this page comes from