Apache::Wyrd::Loop - Loop through SQL query results
<BASENAME::Loop query="select name from contact"> <P>$:name</P> </BASENAME::Loop> <BASENAME::Loop query="select name from contact where name is like 'S%'"> <b>$:name</b> </BASENAME::Loop>
Loop performs a given query and iterates through the result of the query,
set-ting the enclosed text for each query item and concatinating the results together. Unlike normal Wyrds, however, the enclosed text is NOT interpreted prior to this treatment, allowing Wyrds to be included in this template.
The query to pass to the SQL engine. Use Apache::Wyrd::Attribute if this query has unsafe characters (quote, <, etc.).
Reserves the _setup and _format_output methods.
Barry King <email@example.com>
General-purpose HTML-embeddable perl object
Copyright 2002-2007 Wyrdwright, Inc. and licensed under the GPL.
See LICENSE under the documentation for