Apache::Wyrd::View - Show the attributes of an enclosing Wyrd
<BASENAME::Message text="Hello, World!" color="#ffffff"> <BASENAME::View text="name" /> </BASENAME::Message> <BASENAME::Message name="Hello, World!" color="#ffffff"> <BASENAME::View> <p color="$:color">$:name</p> </BASENAME::View> </BASENAME::Message>
The View Wyrd is simply a display placemarker for the attributes of the enclosing wyrd. If invoked with no enclosing text, it will replace itself with the value of that one of its parent's attribute indicated under the "attribute" attribute. If it encloses some text, that text will be treated as a "Setter" style template (see Apache::Wyrd::Interfaces::Setter).
Apache::Wyrd::Interfaces::Setter
The name of the attribute it is to display
NONE
Reserves the _setup method.
_setup
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.