in reply to What's the best way to convert a non interpolated single-quoted string into an interpolated double-quoted string?

You can use eval, but be aware about the risk of injections if others edit your config.

Cheers Rolf

  • Comment on Re: What's the best way to convert a non interpolated single-quoted string into an interpolated double-quoted string?

Replies are listed 'Best First'.
Re^2: What's the best way to convert a non interpolated single-quoted string into an interpolated double-quoted string?
by emilbarton (Scribe) on Mar 15, 2012 at 20:12 UTC
    Yes it's clearly the basic trick, except that I couldn't use eval in this particular case.