HTML::...hAlarm(3pm)
π NAME π
HTML::Microformats::Format::hAlarm β it's the hCalendar alarm component, bestie. An alarm, but make it microformats. β°β¨
And yes, this is the manual page for HTML::Microformats::Format::hAlarm(3pm), so you're in exactly the right place. π«Ά
β¨ SYNOPSIS β¨
okay so here's the whole vibe in code form, no edits, no notes:
use Data::Dumper;
use HTML::Microformats::DocumentContext;
use HTML::Microformats::Format::hCalendar;
my $context = HTML::Microformats::DocumentContext->new($dom, $uri);
my @cals = HTML::Microformats::Format::hCalendar->extract_all(
$dom->documentElement, $context);
foreach my $cal (@cals)
{
foreach my $ev ($cal->get_vevent)
{
foreach my $alarm ($ev->get_valarm)
{
print $alarm->get_description . "\n";
}
}
}
like... it's giving nested loops and we are obsessed. π
πΈ DESCRIPTION πΈ
HTML::Microformats::Format::hAlarm is a lil helper module for HTML::Microformats::Format::hCalendar. It's the class that reps alarm components inside your calendars. π
ngl though β generally speaking, you want to use HTML::Microformats::Format::hCalendar instead. This one's the supporting cast, not the main character. π
Also, HTML::Microformats::Format::hAlarm inherits from HTML::Microformats::Format. So if you wanna know about property getter/setter methods, constructors, all that good stuff β go read the base class definition, it's all described there. π
π¦ Additional Method π¦
to_icalendarβ this method exports the data in iCalendar format. It needsRDF::iCalendarto actually work, and it will throw an error at run-time if that's not available. so like, install your deps first, periodt. π
π BUGS π
Please report any bugs to <http://rt.cpan.org/>. (the RT link, exactly as written, do not @ me) π₯
π₯ SEE ALSO π₯
- HTML::Microformats::Format::hCalendar
- HTML::Microformats::Format
- HTML::Microformats
go read those, they're the whole friend group. π
π AUTHOR π
Toby Inkster <tobyink@cpan.org>. β¨
π 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. π«Ά
β 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.
like, fr fr. no promises, bestie. read it and weep (or don't, that's the point). π
and that's the whole page, mwah. π this one's from perl v5.32.1, dated 2021-09-12 β vintage, iconic, still slaying. bye bestie!! π¦β¨
π¦ 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