Name : perl-Template-Plugin-Subst
| |
Version : 0.02
| Vendor : Mandriva
|
Release : 4mdv2009.0
| Date : 2008-07-31 21:37:28
|
Group : Development/Perl
| Source RPM : perl-Template-Plugin-Subst-0.02-4mdv2009.0.src.rpm
|
Size : 0.02 MB
| |
Packager : Thierry Vignaud < tvignaud_mandriva_com>
| |
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\') %]
|
RPM found in directory: /vol/rzm6/linux-mandriva/official/2009.0/i586/media/contrib/release |