Next: What it is for   Previous: Cache   Contents: Contents

Active contents

Document parts can be generated dynamically. This is done by evaluating a condition, embedded or included Perl code at translation time.

active partdescriptionexample
conditionA paragraph type to control inclusion of all subsequent source parts before the next condition.? $PerlPoint->{targetLanguage} eq "HTML"
tag conditionA special tag option available for all tags which accept options which flags whether the tag should take effect or not. If Active Contents is disabled, the condition defaults to be false.\IMAGE{_cnd_="$illustrate" src="piegraph.gif"}
embedded PerlPerl code embedded into \EMBED and \END_EMBED tags, marked as Perl by tag option lang set to "perl". The code is expected to return a string which will be interpreted as PerlPoint.This document was generated by perl \EMBED{lang=perl}$]\END_EMBED.
included PerlPerl code read from a file via an \INCLUDE tag, marked as Perl by tag option type set to "perl". File contents is evaluated like embedded Perl.\INCLUDE{type=perl file="included.pl"}


  As an introduction example of the active contents feature,
  here is a report about this document: it was generated
  at 13.10.2004.
Next: What it is for   Previous: Cache   Contents: Contents