- Name: perl-Template-Plugin-Subst
- Version: 0.02
- Release: 1mdv2008.1
- Epoch:
- Group: Development/Perl
- License: GPL or Artistic
- Url: http://search.cpan.org/dist/Template-Plugin-Subst
- Summary: s/// functionality for Template Toolkit templates
- Architecture: noarch
- Size: 16097
- Distribution: Mandriva Linux
- Vendor: Mandriva
- Packager: Jérôme Quelin <jquelin@mandriva.org>
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') %]
- OptFlags: -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fexceptions
- Cookie: seggie.mandriva.com 1194973238
- Buildhost: seggie.mandriva.com
Sources packages:
Other version of this rpm: