File: repeat.html

package info (click to toggle)
libpetal-perl 2.20-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,148 kB
  • sloc: perl: 4,712; xml: 726; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 260 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
<html>
<body>
	<!-- pass vars back to the templating engine in petal:repeat statements: -->
	<span petal:repeat="type test/sub_test/list foo">
		Object 1: $type
	</span>
	<?repeat name="type test/sub_test/list foo"?>
		Object 2: $type
	<?end?>
</body>
</html>