The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::ICal::Component -- the base class for ICalender components

SYNOPSIS

You never create an instance of this class directly, so we'll assume $c is an already created component.

  # returns an ICal string for this component.
  $c->as_ical;

DESCRIPTION

This is the base class we derive specific ICal components from. It contains a map of properties which can be set and accessed at will; see the docs for Class::MethodMapper for more on how it works.

CONSTRUCTORS

new($name, $map, %args)

Creates a new ICal component of type $name, with Class::MethodMapper map $map and arguments %args. You never call this directly, but you use the specific component's new constructor instead, which in turn calls this.