Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Replacing environment variables

by mantra2006 (Hermit)
on Oct 17, 2006 at 13:54 UTC ( #578774=note: print w/replies, xml ) Need Help??

in reply to Replacing environment variables

The following two nodes might help you...
Thanks & Regards

Replies are listed 'Best First'.
Re^2: Replacing environment variables
by Hofmator (Curate) on Oct 17, 2006 at 14:00 UTC
    You can make these linkable by writing [id://105795] like this: Environment Variables.

    And even rename them by writing [id://135922|Another node about Environment Variables]: Another node about Environment Variables.

    -- Hofmator

    Code written by Hofmator and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Re^2: Replacing environment variables
by Errto (Vicar) on Oct 18, 2006 at 05:00 UTC
    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.
Re^2: Replacing environment variables
by loris (Hermit) on Oct 18, 2006 at 06:50 UTC

    Hello Sridhar,

    Thanks for replying, but as Errto points out, neither of the nodes you mention has any relevance to my problem.

    The update to my original post shows how I am currently dealing with the situation and may help you to understand what I am trying to do.


    "It took Loris ten minutes to eat a satsuma . . . twenty minutes to get from one end of his branch to the other . . . and an hour to scratch his bottom. But Slow Loris didn't care. He had a secret . . ."

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://578774]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2021-10-24 07:26 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (89 votes). Check out past polls.