Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

one does program in the HTML with Petal

by metaperl (Curate)
on Feb 25, 2008 at 15:50 UTC ( [id://670032]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      <span tal:condition="true:user/is_authenticated">
        Yo, authenticated!
      </span>
    
  2. or download this
    [% IF user.is_authenticated %]
         Yo, authenticated!
    [% END %]
    
  3. or download this
     <div class="auth_dialog">
      <span sid="authed">
    ...
        NOT authed
      </span>
     </div>
    
  4. or download this
    use html::auth_dialog;
    
    ...
        );
    
      print $tree->as_HTML;
    
  5. or download this
      <tag tal:repeat="element_name EXPRESSION">
         blah blah blah
      </tag>
    
  6. or download this
    [% FOREACH s IN EXPRESSION %]
       * [% s %]
    [% END %]
    
  7. or download this
      <div class="elemid">
         blah blah blah
      </div>
    
  8. or download this
    my $li = $tree->look_down(class => 'elemid');
    
      my @items = qw(bread butter vodka);
    
      $tree->iter($li => @items);
    
  9. or download this
    [tag://html,templating,seamstress]
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-03-28 13:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found