in reply to Re: printing enviroment vars from regex
in thread printing enviroment vars from regex
$_ =~ s/\$(\w+)/$ENV{$1}/gI'm pretty sure you want: 0 while $_ =~ s/\$(\w+)/$ENV{$1}/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: printing enviroment vars from regex
by Limbic~Region (Chancellor) on Aug 01, 2004 at 19:46 UTC | |
by Aristotle (Chancellor) on Aug 01, 2004 at 19:54 UTC | |
by Limbic~Region (Chancellor) on Aug 01, 2004 at 20:02 UTC | |
by Aristotle (Chancellor) on Aug 01, 2004 at 20:15 UTC |