App-Followme

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN

The following commands are supported in templates:

- do

    The remainder of the line is interpreted as Perl code.

- for

    Expand the text between the "for" and "endfor" commands several times. The
    argument to the "for" command should be an expression evaluating to a list. The
    code will expand the text in the for block once for each element in the list.

        <ul>
        <!-- for @files -->
            <li><a href="$url">$title</a></li>
            <!-- endfor -->
            </ul>

- if

    The text until the matching `endif` is included only if the expression in the

lib/App/Followme/Guide.pm  view on Meta::CPAN

=over 4

=item do

The remainder of the line is interpreted as Perl code.

=item for

Expand the text between the "for" and "endfor" commands several times. The
argument to the "for" command should be an expression evaluating to a list. The
code will expand the text in the for block once for each element in the list.

    <ul>
    <!-- for @files -->
	<li><a href="$url">$title</a></li>
	<!-- endfor -->
	</ul>

=item if

The text until the matching C<endif> is included only if the expression in the

lib/App/Followme/Template.pm  view on Meta::CPAN

=over 4

=item do

The remainder of the line is interpreted as Perl code.

=item for

Expand the text between the "for" and "endfor" commands several times. The
argument to the "for" command should be an expression evaluating to a list. The
code will expand the text in the for block once for each element in the list.

    <ul>
    <!-- for @files -->
    <li><a href="$url">$title</a></li>
    <!-- endfor -->
    </ul>

=item if

The text until the matching C<endif> is included only if the expression in the



( run in 2.518 seconds using v1.01-cache-2.11-cpan-97f6503c9c8 )