diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-09-28 00:51:40 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-09-28 00:51:40 +0000 |
commit | 1dd6c8644ef7393b4706c8cd3d8f0dd9305b45f4 (patch) | |
tree | f29a43915c97e03dcd8053b52949b853cc95778c /devel/p5-Inline-TT/pkg-descr | |
parent | 44155cd19df0935cd49fa9613d7ee444dea9c418 (diff) | |
download | ports-1dd6c8644ef7393b4706c8cd3d8f0dd9305b45f4.tar.gz ports-1dd6c8644ef7393b4706c8cd3d8f0dd9305b45f4.zip |
Notes
Diffstat (limited to 'devel/p5-Inline-TT/pkg-descr')
-rw-r--r-- | devel/p5-Inline-TT/pkg-descr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/p5-Inline-TT/pkg-descr b/devel/p5-Inline-TT/pkg-descr new file mode 100644 index 000000000000..b37c8445eaef --- /dev/null +++ b/devel/p5-Inline-TT/pkg-descr @@ -0,0 +1,15 @@ +Inline::TT provides Inline access to version 2.0 and higher of the +Template Toolkit. This allows you to house your templates inside the +source code file, while retaining the ability to cache compiled +templates on the disk (via Inline's caching mechanism). + +The names of the blocks in the template are exported as functions. +Call these with a reference to a hash of values, which will be used +for interpolation in the templates. This hash reference is the same as +the second argument to the process method of any Template object. The +output from template toolkit will be returned to you as a single +string. Note that leading and trailing spaces are trimmed, further the +template toolkit options PRE_CHOMP and POST_CHOMP are set. Currently, +there is no way to change these behaviors. + +WWW: http://search.cpan.org/dist/Inline-TT/ |