Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Replacing environment variablesby Errto (Vicar) |
on Oct 18, 2006 at 05:00 UTC ( [id://578972]=note: print w/replies, xml ) | Need Help?? |
I don't really see how either of these nodes is relevant to the problem, other than that they happen to have the words "Environment Variables" in their title. It sounds like the real question is how to perform substitution of placeholders for variables in text, where in this case the collection of values happens to be %ENV. There are some modules for this such as Text::Template though I personally have not used them.
In Section
Seekers of Perl Wisdom
|
|