Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Answer: How to prevent metacharacter interpolation

( #64389=categorized answer: print w/ replies, xml ) Need Help??

Q&A > strings > How to prevent metacharacter interpolation contributed by lhoward

If you're just looking to search or search/replace a string and you don't need any special regular expression (regex) capabilities, you could use index or index+substr instead of m// or s///.

Comment on Answer: How to prevent metacharacter interpolation
Select or Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2014-12-22 05:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls