Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

Hey
The following two nodes might help you...

http://www.perlmonks.org/?node_id=105795 http://www.perlmonks.org/?node_id=135922
Thanks & Regards
Sridhar


Comment on Re: Replacing environment variables
Download Code
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.

    loris


    "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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (13)
As of 2014-07-29 15:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (220 votes), past polls