Name : perl-HTML-Template-Expr
| |
Version : 0.07
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2023-07-20 16:35:10
|
Group : Development/Libraries/Perl
| Source RPM : perl-HTML-Template-Expr-0.07-lp155.1.1.src.rpm
|
Size : 0.05 MB
| |
Packager : https://www_suse_com/
| |
Summary : HTML::Template extension adding expression support
|
Description :
This module provides an extension to HTML::Template which allows expressions in the template syntax. This is purely an addition - all the normal HTML::Template options, syntax and behaviors will still work. See HTML::Template for details.
Expression support includes comparisons, math operations, string operations and a mechanism to allow you add your own functions at runtime. The basic syntax is:
< TMPL_IF EXPR=\"banana_count > 10\"> I\'ve got a lot of bananas. < /TMPL_IF>
This will output \"I\'ve got a lot of bananas\" if you call:
$template->param(banana_count => 100);
In your script. < TMPL_VAR>s also work with expressions:
I\'d like to have < TMPL_VAR EXPR=\"banana_count * 2\"> bananas.
This will output \"I\'d like to have 200 bananas.\" with the same param() call as above.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-H/15.5/noarch |