<: # get parameter personList # this is the only way the template gets # information from other layers my $pList = param('personList'); :> ... <: for my $person ($pList->getAsList()) { print template('personRow')->apply( name=>$person->name, age=>$person->age ); } :>
NameAge
#### <:name:><:age:>