summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/htdocs/modules/include/apexpr/var.shtml
blob: 9521c90d63ed59f2d8b48fc155b65acb52c6d2d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!--#set var="x" value="foo bar"-->
<!--#if expr="reqenv('x') =~ /^foo/ && reqenv('x') =~ /bar$/" -->
pass
<!--#else-->
fail
<!--#endif-->
<!--#if expr="env('x') =~ /^foo/ && v('x') =~ /bar$/" -->
pass
<!--#else-->
fail
<!--#endif-->
<!--#if expr="note('x') =~ /^foo/" -->
fail
<!--#else-->
pass
<!--#endif-->