Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Browser-viewable HTML::Template templates

by dws (Chancellor)
on Jan 11, 2003 at 22:59 UTC ( [id://226148]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      $template->param(foo_input =>
          "<input type=checkbox name='foo'" . $foo_checked ? " checked>" :
    + ">");
      ...
      <TMPL_VAR foo_input>
    
  2. or download this
      $template->PARAM(foo_checked => $foo_checked);
      ...
      <input type=checkbox name="foo" <TMPL_IF foo_checked>checked</TMPL_I
    +F>>
    
  3. or download this
      $template->param(foo_checked => $foo_checked);
      ...
    ...
      </TMPL_ELSE>
      <input type=checkbox name="foo">
      </TMPL_IF>
    
  4. or download this
      <input type=checkbox name="foo">
    
  5. or download this
      <TMPL_IF false><input type=checkbox name="foo"></TMPL_IF><TMPL_VAR f
    +oo_input>
    
  6. or download this
      $template->param(false => 0);

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://226148]
Front-paged by gmax
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-25 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found