in reply to Re^2: Environment Variables in YAML
in thread Environment Variables in YAML

Ah - I missed that subtle reference to YAML "Files". Thanks for pointing that out.

But if you are creating a YAML file, why would you embed environment variables like that ? Sounds like a case for using a template style tool.

I'm leaving it to the OP to post a snippet closer to his actual circumstances.

        “The sources of quotes found on the internet are not always reliable.” — Abraham Lincoln.3; cf.

Replies are listed 'Best First'.
Re^4: Environment Variables in YAML
by quietgecko (Initiate) on Nov 18, 2015 at 05:36 UTC
    Thanks for your reply. Just curious as to what is this template style tool you mentioned. Can you provide some pointers regarding this
      Here is a general article on Template philosophy, and why it is a good idea. It includes recommendations on modules:

      Choosing a Templating System

      For your case, where usage seems fairly simple, I'd suggest starting with:
      Text::Template .

              “The sources of quotes found on the internet are not always reliable.” — Abraham Lincoln.3; cf.