File: incblock

package info (click to toggle)
libtemplate-perl 2.19-1.1lenny1.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,012 kB
  • ctags: 606
  • sloc: perl: 14,372; makefile: 60; sh: 5
file content (7 lines) | stat: -rw-r--r-- 257 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
[% BLOCK first_block -%]
this is my first block, a is set to '[% a %]'
[%- END -%]
[% BLOCK second_block; DEFAULT b = 99 m = 98 -%]
this is my second block, a is initially set to '[% a %]' and 
then set to [% a = s %]'[% a %]'  b is $b  m is $m
[%- END -%]