
Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog
!block simple [;parameters] ... !endblock
The parameters are:
| Name | Description |
| pre | Perl code to execute before the block |
| exec | executed for each line with $line containing the text line |
| post | Perl code to execute after the block |
The simple filter is typically used as a building block for other filters. It provides a simple way of specifying the before (pre), per-line (exec) and after (post) actions.
!on filter "testcases";; \
$name='simple'; \
$params.=';pre="!testcaseStart"'; \
$params.=';post="!testcaseEnd"'
Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog