Subject: | PATCH: improved docs for add_properties() |
Attached is a patch to add an example to the docs which I found helpful.
I always find it easier to look to a data structure than to read a
textual description.
Subject: | multiple_param_docs.patch |
--- old-mark/perllib/Data/ICal/Entry.pm 2006-01-20 16:00:26.000000000 -0500
+++ new-mark-1/perllib/Data/ICal/Entry.pm 2006-01-20 16:56:22.000000000 -0500
@@ -167,6 +167,11 @@
of strings, depending on whether the parameter should have one or multiple (to be comma-separated)
values.
+Examples of setting parameters:
+
+ # Add a property with a parameter of VALUE set to 'DATE'
+ $event->add_property( rdate => [ $date, { VALUE => 'DATE' } ] );
+
=cut
sub add_property {