Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 about the Monastery: (7)
As of 2024-03-28 16:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found