HTML::...easure(3pm)
π NAME π
HTML::Microformats::Format::hMeasure β the hMeasure microformat, bestie. that's it, that's the whole vibe β¨
π¦ SYNOPSIS π¦
okay so here's literally how you use it:
use HTML::Microformats::DocumentContext;
use HTML::Microformats::Format::hMeasure;
my $context = HTML::Microformats::DocumentContext->new($dom, $uri);
my @objects = HTML::Microformats::Format::hMeasure->extract_all(
$dom->documentElement, $context);
foreach my $m (@objects)
{
printf("%s %s\n", $m->get_number, $m->get_unit);
}
look at that. extract_all hands you back a whole lil pile of objects and you just loop through them going "what's the number, what's the unit" π iconic behaviour honestly
πΈ DESCRIPTION πΈ
so HTML::Microformats::Format::hMeasure inherits from HTML::Microformats::Format. that's its whole family tree fr fr π
and if you wanna know about property getter/setter methods, constructors, all that good stuff? bestie, go read the base class definition. it's all documented there. i'm not gonna re-explain my parent's whole deal, that's giving plagiarism π
π MICROFORMAT π
HTML::Microformats::Format::hMeasure supports hMeasure, exactly as it's described over at <http://microformats.org/wiki/hmeasure> β go look, it's right there, no cap β¨
π RDF OUTPUT π
this module outputs RDF, and it does it using the Extensible Measurement Ontology β that's <http://buzzword.org.uk/rdf/measure#>. yes the # is part of it, don't come for me π«Ά
π BUGS π
found a bug? please report it to <http://rt.cpan.org/>. do it. i'm begging π
π SEE ALSO π
HTML::Microformats::FormatHTML::Microformats
the whole friend group, together at last π
β AUTHOR β
Toby Inkster <tobyink@cpan.org>. the main character who wrote this. we stan π
π§ 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.
(yes that's the actual licence text, i'm not paraphrasing legal, that would be unhinged of me πΈ)
π₯ 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 bestie: no promises, no guarantees, use at your own risk, it's giving "you're on your own and i love that for you" π
and that's the whole page!! this was perl v5.32.1, dated 2021-09-12, from the User Contributed Perl Documentation files. slay, bye πβ¨
π¦ 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