Apache::Wyrd::Attribute - Unparsed Wyrd template/attribute
<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"
title
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.
The name of the attribute of the parent Wyrd which is set to the value of the enclosing text.
The value to set the attribute of the parent to. Defaults to the enclosed text if unspecified.
(format: (returns) name (accepts))
NONE
Reserves the _format_output method. Modifies the parent Wyrd's attribute by direct manipulation, violating strict object encapsulation, sort of like a "family" class.
Barry King <wyrd@nospam.wyrdwright.com>
General-purpose HTML-embeddable perl object
Copyright 2002-2007 Wyrdwright, Inc. and licensed under the GNU GPL.
See LICENSE under the documentation for Apache::Wyrd.
Apache::Wyrd
To install Apache::Wyrd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::Wyrd
CPAN shell
perl -MCPAN -e shell install Apache::Wyrd
For more information on module installation, please visit the detailed CPAN module installation guide.