Package : perl-Template-Plugin-Subst
Package details
Summary: s/// functionality for Template Toolkit templates
Description:
Template::Plugin::Subst acts as a filter and a virtual method to carry
out regular expression substitutions with back references on text and
variables in the Template Toolkit.
That's the advantage of this approach over the built-in C<replace>
method. C<replace> doesn't deal with backrefs, so code like this:
[% str = 'foobar' %]
[% str.replace('(foo)(bar)', '$2$1') %]
URL: https://metacpan.org/release/Template-Plugin-Subst
License: GPL+ or Artistic
Maintainer: nobody
Description:
Template::Plugin::Subst acts as a filter and a virtual method to carry
out regular expression substitutions with back references on text and
variables in the Template Toolkit.
That's the advantage of this approach over the built-in C<replace>
method. C<replace> doesn't deal with backrefs, so code like this:
[% str = 'foobar' %]
[% str.replace('(foo)(bar)', '$2$1') %]
URL: https://metacpan.org/release/Template-Plugin-Subst
License: GPL+ or Artistic
Maintainer: nobody
List of RPMs
- perl-Template-Plugin-Subst-0.20.0-10.mga9.src.rpm (Mageia cauldron, x86_64 media, core-release)