Shane Landrum > Net-ICal-0.15 > Net::ICal::Attendee

Download:
Net-ICal-0.15.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  1
View/Report Bugs
Source  

NAME ^

Net::ICal::Attendee -- represents an attendee or organizer of a meeting

SYNOPSIS ^

  use Net::ICal;
  $a = new Net::ICal::Attendee('mailto:alice@example.com');
  $a = new Net::ICal::Attendee('mailto:alice@example.com',
                                cn => 'Alice Anders',
                role => 'REQ-PARTICIPANT');

DESCRIPTION ^

Net::ICal::Attendee provides an interface to manipulate attendee data in iCalendar (RFC2445) format.

METHODS ^

new($calid, $hash)

New will take a string and optional key-value pairs. The string is the calender user address of the Attendee (usually a mailto uri).

    $a = new Net::ICal::Attendee('mailto:alice@example.com');
    $a = new Net::ICal::Attendee('mailto:alice@example.com',
                                  cn => 'Alice Anders',
                                  role => 'REQ-PARTICIPANT');

Meaningful hash keys are:

To understand more about the uses for each of these properties, read the source for this module and and look at RFC2445.

validate

Returns 1 for valid attendee data, undef for invalid.

SEE ALSO ^

More documentation pointers can be found in Net::ICal.

syntax highlighting: