1Data::ICal::Entry::AlarUms:e:rPrCoocnetdruirbeu(t3e)d PeDraltaD:o:cIuCmaeln:t:aEtnitorny::Alarm::Procedure(3)
2
3
4
6 Data::ICal::Entry::Alarm::Procedure - Represents a procedure-call alarm
7 in an iCalendar file
8
10 my $valarm = Data::ICal::Entry::Alarm::Procedure->new();
11 $valarm->add_properties(
12 attach => [ "ftp://host.com/novo-procs/felizano.exe", { fmttype => "application/binary" } ],
13 # Dat*e*::ICal is not a typo here
14 trigger => [ Date::ICal->new( epoch => ... )->ical, { value => 'DATE-TIME' } ],
15 );
16
17 $vevent->add_entry($valarm);
18
20 A Data::ICal::Entry::Alarm::Procedure object represents an alarm that
21 calls a procedure (in some application-defined way), which is attached
22 to a todo item or event in an iCalendar file. (Note that the iCalendar
23 RFC refers to entries as "components".) It is a subclass of
24 Data::ICal::Entry::Alarm and accepts all of its methods.
25
27 new
28 Creates a new Data::ICal::Entry::Alarm::Procedure object; sets its
29 "ACTION" property to "PROCEDURE".
30
31 optional_unique_properties
32 In addition to "duration" and "repeat" (see
33 "optional_unique_properties" in Data::ICal::Entry::Alarm), procedure-
34 call alarms may also specify a value for "description".
35
36 mandatory_unique_properties
37 In addition to "action" and "trigger" (see
38 "mandatory_unique_properties" in Data::ICal::Entry::Alarm), procedure-
39 call alarms must also specify a value for "attach".
40
42 Best Practical Solutions, LLC <modules@bestpractical.com>
43
45 Copyright (c) 2005 - 2015, Best Practical Solutions, LLC. All rights
46 reserved.
47
48 This module is free software; you can redistribute it and/or modify it
49 under the same terms as Perl itself. See perlartistic.
50
51
52
53perl v5.28.0 2015-02D-a1t7a::ICal::Entry::Alarm::Procedure(3)