HTML::...icense(3pm)
π HTML::Microformats::Format::RelLicense β the rel-license microformat β¨
okay bestie, so this is a page from the User Contributed Perl Documentation, and the manual name is HTML::...icense(3pm) (yes the terminal truncates it like that, it's giving βοΈ, we cope). Buckle up, it's a whole microformat moment. π
π¦ NAME
HTML::Microformats::Format::RelLicense β the rel-license microformat. periodt.
β¨ SYNOPSIS
look at this lil guy, it's so cute:
my @licences = HTML::Microformats::Format::RelLicense->extract_all(
$doc->documentElement, $context);
foreach my $licence (@licences)
{
print $licence->get_href . "\n";
}
like, you pull all the licences out of the doc, then you loop over them and print the href of each one. slay. π
πΈ DESCRIPTION
HTML::Microformats::Format::RelLicense inherits from HTML::Microformats::Format_Rel. so basically, if you wanna know how the property getter/setter methods work, or the constructors, or any of that whole vibe β go check the base class definition, because that's where all the deets live. this class is the main character, but the base class is the blueprint. π
π MICROFORMAT
HTML::Microformats::Format::RelLicense supports rel-license, exactly as described over at:
<http://microformats.org/wiki/rel-license>
that's the source of truth, bestie. no cap. π
β RDF OUTPUT
the data comes back using the Creative Commons vocabulary:
<http://creativecommons.org/ns#>
plus the occasional other term here and there. mostly CC though, it's giving on-brand. π
π BUGS
found a bug? pls report it, don't just suffer in silence:
the maintainers genuinely want to know. fr fr. π«Ά
π SEE ALSO
HTML::Microformats::Format_Relβ the parent, the blueprint, the iconHTML::Microformatsβ the whole family
iykyk. π§
π AUTHOR
Toby Inkster <tobyink@cpan.org> β thank you for your service king π«‘
π COPYRIGHT AND LICENCE
Copyright 2008-2012 Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
so like, same terms as Perl. do with that what you will, but keep the copyright line intact, bestie. βοΈ
π DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
translation: no promises, no guarantees, it is what it is. ship it at your own risk. π
and that's the whole page, bestie!! π
this was perl v5.32.1, dated 2021-09-12, and the manual name again in case you forgot: HTML::...icense(3pm). stay hydrated, read your base classes, mwah πβ¨π¦
π¦ where this page comes from
- debian bookworm: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libhtml-microformats-perl 0.105-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms