Data::...rm::URI(3pm)
π NAME π
Data::ICal::Entry::Alarm::URI β bestie, this lil icon represents a notification that goes out via a custom URI β¨
It lives in the User Contributed Perl Documentation section of the manual, and the man page is literally called Data::...rm::URI(3pm) (yes the name got squished, it's giving truncated-but-thriving π
).
π SYNOPSIS π
my $valarm = Data::ICal::Entry::Alarm::URI->new();
$valarm->add_properties(
uri => "sms:+15105550101?body=hello%20there",
# Dat*e*::ICal is not a typo here
trigger => [ Date::ICal->new( epoch => ... )->ical, { value => 'DATE-TIME' } ],
);
$vevent->add_entry($valarm);
Ok so copy that energy, note the comment # Dat*e*::ICal is not a typo here because Date::ICal is a whole different thing than Data::ICal and it is NOT a typo π«Ά
π¦ DESCRIPTION π¦
A Data::ICal::Entry::Alarm::URI object represents an alarm that notifies via an arbitrary URI, and it's attached to a todo item or an event inside an iCalendar file ποΈβ¨
Just so you know, bestie β the iCalendar RFC calls entries "components". That's the canon name, iykyk.
It's a subclass of Data::ICal::Entry::Alarm and it accepts all of its methods, no cap π
Here's the tea though: this element is not included in the official iCal RFC π It's an unaccepted draft standard instead β go peek at <https://tools.ietf.org/html/draft-daboo-valarm-extensions-04#section-6>. So its interoperability and support is limited, fr fr. This alarm type is primarily used by Apple π
π METHODS π
β¨ new β¨
Creates a new Data::ICal::Entry::Alarm::Alarm object; sets its "ACTION" property to "NONE".
β¨ mandatory_unique_properties β¨
On top of "action" and "trigger" (see "mandatory_unique_properties" in Data::ICal::Entry::Alarm), uri alarms must also specify a value for "uri". No skipping it, babe, it's mandatory for a reason π
πΈ 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.
okay that's the whole page, you ate it, periodt πβ¨ This one was cooked up with perl v5.36.0 on 2022-10-14, and it's filed under Data::...rm::URI(3pm) β mwah, bye bestie ππ¦
π¦ 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