View on
MetaCPAN
Barry King > Apache-Wyrd > Apache::Wyrd::Template

Download:
Apache-Wyrd-0.98.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.98   Source  

NAME ^

Apache::Wyrd::Template - Self-parsed Wyrd template-attribute

SYNOPSIS ^

    <BASENAME::Template name="header_template">
      <h1>$:title</h1>
    </BASENAME::Template>

The parent of this object will now be able to get the value "<h1>$:title</h1>" by accessing it's header_template attribute.

DESCRIPTION ^

Modifies attributes of the parent Wyrd directly (for making templates) and suspends parsing of the enclosed area. Like attribute, it allows the setting of attributes in the parent that contain HTML tags.

HTML ATTRIBUTES

name

Name of the parent Wyrd's attribute to modify

PERL METHODS

NONE

BUGS/CAVEATS/RESERVED METHODS ^

Reserves the _setup method.

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.

syntax highlighting: