./textproc/p5-String-Expand, Functions to expand variables in self-referential sets

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.04nb3, Package name: p5-String-Expand-0.04nb3, Maintainer: pkgsrc-users

This module implements utility functions for expanding embedded
variables in a string. Variable references are embedded in strings in
a similar form to the Bourne shell, namely, in the form $NAME or
${NAME}. In the former case, the NAME must consist of a capital letter
or underscore, and may be followed by zero or more capital letters,
digits or underscores. In the latter case, the name can consist of any
characters, but will be terminated by the first close brace character
'}'.

The string may also contain literal dollar marks, escaped by \$, and
literal escape marks, escaped by \\. These will be converted to $ and
\ respectively on return.

While there are many other modules that also provide expansion such as
this, this module provides the function expand_strings(), which will
perform variable expansions in all the values in a given hash, where
values can refer to other values within the same hash.


Required to run:
[lang/perl5] [devel/p5-Test-Exception] [devel/p5-Test-More-Behaviour]

Required to build:
[devel/p5-Module-Build] [pkgtools/cwrappers]

Master sites:

SHA1: 04aac4fa81b2e04b65f82e5cded5260ab1a9fc92
RMD160: a26e518e0ff6e33bea9974107d2a4483d656f1e3
Filesize: 12.171 KB

Version history: (Expand)


CVS history: (Expand)


   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2017-02-08 11:41:03 by Hauke Fath | Files touched by this commit (2)
Log message:
Lose PLIST, since PERL5_PACKLIST magic takes care of things.
   2017-02-03 16:33:58 by Hauke Fath | Files touched by this commit (4)
Log message:
Add p5-String-Expand

This module implements utility functions for expanding embedded
variables in a string. Variable references are embedded in strings in
a similar form to the Bourne shell, namely, in the form $NAME or
${NAME}. In the former case, the NAME must consist of a capital letter
or underscore, and may be followed by zero or more capital letters,
digits or underscores. In the latter case, the name can consist of any
characters, but will be terminated by the first close brace character
'}'.