commit(3pm)
π commit(3pm) β bestie's guide to Metabase::Resource::perl::commit π
okay so this is a User Contributed Perl Documentation page, and yes the man page name is literally commit(3pm). it lives in the perl doc family, and the version is 0.025 (that's its own VERSION section, not the perl version, don't get it twisted π«Ά).
β¨ NAME β¨
Metabase::Resource::perl::commit β a class for Metabase resources about perl commits. periodt, that's the whole name. it's giving "niche but essential" π
πΈ VERSION πΈ
version 0.025
like. that's the version. that's it. iconic of it to have its own section for one number ngl π
π¦ SYNOPSIS π¦
okay bestie, here's the vibe in code form:
my $resource = Metabase::Resource->new(
'perl:///commit/8c576062',
);
my $resource_meta = $resource->metadata;
my $typemap = $resource->metadata_types;
my $url = $self->full_url;
so you spin up a Metabase::Resource, hand it a perl:///commit/... string, and then you can pull metadata, metadata_types, and eventually full_url. slay π₯
π DESCRIPTION π
this thing generates resource metadata for resources of the scheme 'perl:///commit'. lowkey its whole personality:
my $resource = Metabase::Resource->new(
'perl:///commit/8c576062',
);
now for that example up there ^^^ the resource metadata structure would contain these elements, no cap:
scheme => perl
type => commit
sha1 => 8c576062
so: the scheme is perl, the type is commit, and the sha1 is 8c576062. that's the whole lil metadata trio π
π METHODS π
π full_url
my $url = $self->full_url($host);
returns an ordinary HTTP URL to the resource. and if you don't pass $host? it defaults to the official master Perl repository at <http://perl5.git.perl.org>. yes, official. yes, master. yes, defaults exist so you can be lazy. we love a sensible fallback π«Ά
π BUGS π
please report any bugs or feature using the CPAN Request Tracker. bugs can be submitted through the web interface at:
<http://rt.cpan.org/Dist/Display.html?Queue=Metabase-Fact>
and when you're submitting a bug or request, bestie, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. like. help them help you. not me showing up with "it's broken" and zero repro steps π
fr fr: no test file = they're guessing. bring receipts.
π AUTHORS π
the legends themselves:
- David Golden
<dagolden@cpan.org> - Ricardo Signes
<rjbs@cpan.org> - H.Merijn Brand
<hmbrand@cpan.org>
three icons, one module. main character energy across the board β¨
π COPYRIGHT AND LICENSE π
this software is Copyright (c) 2016 by David Golden.
and it's free software, licensed under:
The Apache License, Version 2.0, January 2004
so go forth, use it, respect the license πΈ
okay that's the whole page bestie, hope you ate π
this lil masterpiece got rendered by perl v5.36.0 on 2022-10-14, filed under commit(3pm) β and yes, that was the footer, so we're done here. mwah π
π¦ where this page comes from
- ubuntu noble: libmetabase-fact-perl 0.025-4 Β· Apache-2.0
- ubuntu resolute: libmetabase-fact-perl 0.025-4 Β· Apache-2.0
- ubuntu stonking: libmetabase-fact-perl 0.025-4 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms