File: eval.xml

package info (click to toggle)
libpetal-perl 2.18-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,036 kB
  • ctags: 165
  • sloc: perl: 4,613; xml: 703; makefile: 43
file content (17 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<test>
  <li
    petal:on-error="structure string:&lt;blink&gt;oops&lt;/blink&gt;"
    petal:condition="list"
    petal:repeat="element list">Hello</li>
  This is an eval test:
  <?eval?>
    <?eval?>
      But this is going to work, however it still
      should not appear in the final result because
      it's within an eval that fails
    <?endeval errormsg="huh oh, problem, this should not appear"?>
    <?var name="this/aint/gonna/work"?>
  <?endeval errormsg="should appear"?>

  <span petal:on-error="string:booo">$this/aint/gonna/work</span>
</test>