Package : perl-Template-Plugin-Subst > RPM : perl-Template-Plugin-Subst-0.20.0-8.mga7.noarch.rpm
Basic items
InstallName | perl-Template-Plugin-Subst |
Version | 0.20.0 |
Release | 8.mga7 |
URL | http://search.cpan.org/dist/Template-Plugin-Subst |
Group | Development/Perl |
Summary | s/// functionality for Template Toolkit templates |
Size | 16KB |
Arch | noarch |
License | GPL+ or Artistic |
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') %]
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') %]
Media information
Distribution release | Mageia 7 |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | perl-Template-Plugin-Subst-0.20.0-8.mga7.src.rpm |
Build time | 2018-09-19 13:28:52 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |