XP is just a number | |
PerlMonks |
Re: Substitution in text filesby jepri (Parson) |
on Jun 15, 2002 at 20:14 UTC ( [id://174873]=note: print w/replies, xml ) | Need Help?? |
s/\$subKey/$subVar/ replaces the literal '$subKey' with $subvar. What you might have wanted is s/$subKey/$subVar/ ____________________
In Section
Seekers of Perl Wisdom
|
|