Data::...ocedure(3pm)
π Data::ICal::Entry::Alarm::Procedure β the manual page, bestie edition π
okay so this is Data::ICal::Entry::Alarm::Procedure(3pm) from User Contributed Perl Documentation, and it's genuinely one of my faves so let's get into it π«Ά
β¨ NAME β¨
Data::ICal::Entry::Alarm::Procedure β it's the thing that represents a procedure-call alarm in an iCalendar file. yes that's the whole job. iconic behaviour honestly π
β¨ SYNOPSIS β¨
okay watch how easy this is:
my $valarm = Data::ICal::Entry::Alarm::Procedure->new();
$valarm->add_properties(
attach => [ "ftp://host.com/novo-procs/felizano.exe", { fmttype => "application/binary" } ],
# Dat*e*::ICal is not a typo here
trigger => [ Date::ICal->new( epoch => ... )->ical, { value => 'DATE-TIME' } ],
);
$vevent->add_entry($valarm);
β οΈ note the comment ok: Date::ICal is not a typo here. it really do be spelled with an e in that one spot and i need you to not "fix" it, i'm begging π
β¨ DESCRIPTION β¨
so a Data::ICal::Entry::Alarm::Procedure object is likeβ¦ an alarm that calls a procedure (in some application-defined way, so it's giving mystery β¨), and that procedure is attached to a todo item or an event inside an iCalendar file. that's the vibe π
quick heads up bestie: the iCalendar RFC calls entries "components". so when the RFC says component, it means entry. don't let that jump-scare you, it's the same thing π
it is a subclass of Data::ICal::Entry::Alarm and it accepts all of its methods. inherited and thriving fr fr π
β¨ METHODS β¨
πΈ new
creates a brand new Data::ICal::Entry::Alarm::Procedure object, and sets its "ACTION" property to "PROCEDURE". that's it, that's the method, she's efficient π¦
πΈ optional_unique_properties
in addition to "duration" and "repeat" (hiiiii check "optional_unique_properties" in Data::ICal::Entry::Alarm), procedure-call alarms may also specify a value for "description". so there's room to add a lil description if you want π optional = your call, no pressure.
πΈ mandatory_unique_properties
in addition to "action" and "trigger" (and yes, go look at "mandatory_unique_properties" in Data::ICal::Entry::Alarm), procedure-call alarms must also specify a value for "attach". must. mandatory. non-negotiable. not me stressing the word "must" but likeβ¦ must π
β¨ AUTHOR β¨
Best Practical Solutions, LLC <modules@bestpractical.com> π«Ά
β¨ LICENCE AND COPYRIGHT β¨
Copyright (c) 2005 - 2020, Best Practical Solutions, LLC. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
and that's the whole page bestie, no notes π this was Data::...ocedure rendered from perl v5.36.0, dated 2022-10-14 β slay, periodt β¨πΈπ
π¦ where this page comes from
- ubuntu noble: libdata-ical-perl 0.24+dfsg-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdata-ical-perl 0.24+dfsg-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdata-ical-perl 0.24+dfsg-2 Β· 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