in reply to Translating Env Variables

Maybe I'm missing something but wouldn't s/\${([^\$]*)}/$ENV{$1}/g; do it?