Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^4: Replacing environment variables

by loris (Hermit)
on Oct 18, 2006 at 14:03 UTC ( #579076=note: print w/ replies, xml ) Need Help??

in reply to Re^3: Replacing environment variables
in thread Replacing environment variables

Thanks for the nice concise solution, holli. Looking at it, I realise that I have missed out the case where the environment variable represents a directory and may be followed by a subdirectory (see updated OP). Thus the regexp would have to be a little different.


"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 . . ."

Comment on Re^4: Replacing environment variables

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2014-11-29 09:04 GMT
Find Nodes?
    Voting Booth?

    My preferred Perl binaries come from:

    Results (204 votes), past polls