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

Download:
Net-ICal-0.15.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  1
View/Report Bugs
Source  

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.

syntax highlighting: