HTML-Menu-Select

 view release on metacpan or  search on metacpan

Readme.html  view on Meta::CPAN

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>HTML::Menu::Select - Create HTML for select menus to simplify your templates.</title>
<link rev="made" href="mailto:" />
</head>

<body style="background-color: white">

<p><a name="__index__"></a></p>
<!-- INDEX BEGIN -->

<ul>

	<li><a href="#name">NAME</a></li>
	<li><a href="#synopsis">SYNOPSIS</a></li>
	<li><a href="#description">DESCRIPTION</a></li>
	<li><a href="#installation">INSTALLATION</a></li>
	<li><a href="#methods">METHODS</a></li>
	<ul>

		<li><a href="#menu__"><code>menu()</code></a></li>
		<li><a href="#options__"><code>options()</code></a></li>
		<li><a href="#popup_menu__"><code>popup_menu()</code></a></li>
	</ul>

	<li><a href="#html_escaping">HTML escaping</a></li>
	<li><a href="#cgi_pm_compatability">CGI.pm COMPATABILITY</a></li>
	<li><a href="#support___bugs">SUPPORT / BUGS</a></li>
	<li><a href="#see_also">SEE ALSO</a></li>
	<li><a href="#author">AUTHOR</a></li>
	<li><a href="#credits">CREDITS</a></li>
	<li><a href="#copyright_and_license">COPYRIGHT AND LICENSE</a></li>
</ul>
<!-- INDEX END -->

<hr />
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>HTML::Menu::Select - Create HTML for select menus to simplify your templates.</p>
<p>
</p>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<pre>
  use HTML::Menu::Select qw( menu options );
  
  my $html = menu(
    name   =&gt; 'myMenu',
    values =&gt; [ 'yes', 'no' ],
  );
  
  $tmpl-&gt;param( select_menu =&gt; $html );</pre>
<p>
</p>
<hr />
<h1><a name="description">DESCRIPTION</a></h1>
<p>This modules creates HTML for form <code>select</code> items.</p>
<p>Traditionally, if you wanted to dynamically generate a list of options 
in a <code>select</code> menu, you would either have to use CGI's HTML 



( run in 2.530 seconds using v1.01-cache-2.11-cpan-119454b85a5 )