String::Interpolate::RE

This module interpolates variables into strings using regular expression
matching rather than Perl's built-in interpolation mechanism and thus
hopefully does not suffer from the security problems inherent in using
eval to interpolate into strings of suspect ancestry.

  Changing the default option values

The default values for "strinterp"'s options were not all well thought
out. String::Interpolate::RE uses Exporter::Tiny, allowing a version of
"strinterp" with saner defaults to be exported. Simply specify them when
importing:

  use String::Interpolate::RE strinterp => { opts => { useENV => 0 } };

The subroutine may be renamed using the "-as" option:

  use String::Interpolate::RE strinterp => { -as => strinterp_noenv,
                                             opts => { useENV => 0 } };

  strinterp_noenv( ... );

INSTALLATION

This is a Perl module distribution. It should be installed with whichever
tool you use to manage your installation of Perl, e.g. any of

  cpanm .
  cpan  .
  cpanp -i .

Consult http://www.cpan.org/modules/INSTALL.html for further instruction.
Should you wish to install this module manually, the procedure is

  perl Makefile.PL
  make
  make test
  make install

COPYRIGHT AND LICENSE

This software is Copyright (c) 2017 by Smithsonian Astrophysical
Observatory.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007
