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

NAME

Apache::Wyrd::Attribute - Unparsed Wyrd template/attribute

SYNOPSIS

        <BASENAME::Attribute name="title"><BASENAME::CGISetter>$:data</BASENAME::CGISetter></BASENAME::Attribute>

The parent of this object will have it's attribute title set to the value of the CGI variable "data"

DESCRIPTION

Modifies attributes of the parent object directly after the enclosed space is fully parsed. This is unlike Apache::Wyrd::Template which does not parse the enclosed area beforehand. Both these Wyrds are meant to provide a comprehensible way of setting Wyrd attributes to values which contain HTML text without resorting to an "insane" escaping syntax.

HTML ATTRIBUTES

name

The name of the attribute of the parent Wyrd which is set to the value of the enclosing text.

value

The value to set the attribute of the parent to. Defaults to the enclosed text if unspecified.

PERL METHODS

(format: (returns) name (accepts))

NONE

BUGS/CAVEATS/RESERVED METHODS

Reserves the _format_output method. Modifies the parent Wyrd's attribute by direct manipulation, violating strict object encapsulation, sort of like a "family" class.

AUTHOR

Barry King <wyrd@nospam.wyrdwright.com>

SEE ALSO

Apache::Wyrd

General-purpose HTML-embeddable perl object

LICENSE

Copyright 2002-2007 Wyrdwright, Inc. and licensed under the GNU GPL.

See LICENSE under the documentation for Apache::Wyrd.