Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Recursively display nested lists with Template Toolkit

by friedo (Prior)
on Aug 28, 2006 at 22:01 UTC ( [id://570059]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Template;
    use strict;
    ...
    
    
    $t->process("rec.tt", { nodes => \@nodes } );
    
  2. or download this
    [% VIEW nested_list %]
      [% BLOCK list %]
    ...
    [% END %]
    
    [% nested_list.print(nodes) %]
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-03-28 16:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found