Apache::Wyrd::Lookup - Wyrd for returning an SQL query result
<BASENAME::Lookup joiner=" : "> select * from people </BASENAME::Lookup> <BASENAME::Lookup query="select name from contact where name is like 'S%'"> <b>$:name</b> <BASENAME::Var name="field_joiner"><BR></BASENAME::Var> </BASENAME::Lookup>
what to join multiple values with. Defaults to ", ". If either this or record_joiner is set to "CSV", comma separated value format will be used. For the special characters, "CR" or "\r" will give carriage return, and LF or "\n" will give a linefeed, the same for CRLF and "\r\n".
an alias for joiner
joiner
what HTML text to display when there are no results (optional).
what to join multiple values with. Defaults to newline.
Sets the record and field joiner to the null string.
(format: (returns) name (accepts))
_default_joiner
method to be overridden in a subclass to change the default value for joiner.
_default_record_joiner
Reserves the _format_output and _generate_output methods.
Barry King <wyrd@nospam.wyrdwright.com>
General-purpose HTML-embeddable perl object
Copyright 2002-2007 Wyrdwright, Inc. and licensed under the 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.