Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > contrib-release-src > by-pkgid > cc68f8a8e87fc5fd2a2c1e1341c0e7cc

perl-Template-Plugin-Subst-0.02-4mdv2009.0.src.rpm

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') %]

Generated packages:

Other version of this rpm: