Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
However, I still haven't gotten this to work on the following user input string
I've tried several things includingTESTDATA_BETA$CurrentVal[1]_DEFL$CurrentVal[2].$CurrentVal[0]
with no luck.$OutputFileFormat =~ s/\$(\w+\])/${$1}/g
This should probably be obvious, but I'm just not getting it. Thanks for the help so far! This is the last bit of code I need to get working to complete my program. </paragraph>
Edit 2001-03-14 by tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Another question about expanding variables in text strings
by dvergin (Monsignor) on Mar 15, 2001 at 03:28 UTC | |
by tye (Sage) on Mar 15, 2001 at 04:51 UTC | |
by Anonymous Monk on Mar 24, 2001 at 03:07 UTC | |
|
Re: Another question about expanding variables in text strings
by Hot Pastrami (Monk) on Mar 15, 2001 at 02:40 UTC | |
|
Re: Another question about expanding variables in text strings
by telesto (Novice) on Mar 15, 2001 at 05:17 UTC |