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

NAME

Net::Lyskom::AuxItem - Object representing a Protocol A AuxItem.

SYNOPSIS

  $ai = Net::Lyskom::AuxItem->new(
                                  tag => "content_type",
                                  data => "text/html"
                                 );

DESCRIPTION

A helper module for Net::Lyskom

Methods

new(tag => content_type, [...])

Create a new AuxItem object. All possible attributes can be set at creation time, by use of fairly standard arguments. What the attributes are and what they mean can be found in the Protocol A documentation. All names are kept the same, except that hyphens have been changed to underscores.

data([$data])

Get or set the data attribute of the AuxItem.

inherit_limit([$limit])

Get or set the inherit_limit attribute of the AuxItem.

tag([$tag])

Get or set the tag attribute of the AuxItem. It is a fatal error to use a tag type that is not defined in the protocol specification.

deleted([$boolean])

Get or set the deleted flag of the AuxItem.

inherit([$boolean])

Get or set the inherit flag of the AuxItem.

secret([$boolean])

Get or set the secret flag of the AuxItem.

hide_creator([$boolean])

Get or set the hide_creator of the AuxItem.

dont_garb([$boolean])

Get or set the dont_garb attribute of the AuxItem.

aux_no()

Get the aux_no attribute of the AuxItem.

creator()

Get the creator attribute of the AuxItem.

created_at()

Get the created_at attribute of the AuxItem. Returns a Net::Lyskom::Time object.

as_string()

Return the object contents as a string.

to_server()

Return a reference to a four-element array representing this AuxItem, suitable for using as the third argument in a call to Net::Lyskom->create_text()

AUTHOR

Calle Dybedahl <calle@lysator.liu.se>