Bharath666 has asked for the wisdom of the Perl Monks concerning the following question:
Hi I want to replace all occurrences of ENV{"value"} in the following string with $ENV("value"). This "value" is for example and varies.
$found="ENV{\"VCINSTALLDIR\"}\ATLMFC\LIB\amd64;ENV{\"LIBPATH\"}"please help me how to do this
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Search and replace
by Athanasius (Cardinal) on Jan 31, 2013 at 15:28 UTC | |
by Bharath666 (Novice) on Jan 31, 2013 at 15:53 UTC | |
by Bharath666 (Novice) on Jan 31, 2013 at 15:59 UTC | |
by Athanasius (Cardinal) on Jan 31, 2013 at 16:23 UTC | |
by Bharath666 (Novice) on Feb 01, 2013 at 05:57 UTC |