Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: HTML::Template macros

by thraxil (Prior)
on Dec 05, 2003 at 04:51 UTC ( [id://312427]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub selectify {
        my $values = shift;
    ...
             }
        } @{$values}];
    }
    
  2. or download this
    $template->param(foo_loop => selectify(\@values,\@labels,\@selected));
    
  3. or download this
    <select name="foo">
    <tmpl_loop name="foo_loop">
    ...
      </option>
    </tmpl_loop>
    </select>
    
  4. or download this
    <select name="foo">
    <tmpl_loop name="foo_loop">
      <tmpl_include name="option.tmpl">
    </tmpl_loop>
    </select>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://312427]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2025-04-30 00:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.