Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Substitution in text files

by jepri (Parson)
on Jun 15, 2002 at 20:14 UTC ( [id://174873]=note: print w/replies, xml ) Need Help??


in reply to Substitution in text files

s/\$subKey/$subVar/

replaces the literal '$subKey' with $subvar. What you might have wanted is

s/$subKey/$subVar/

____________________
Jeremy
I didn't believe in evil until I dated it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2024-04-18 06:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found