Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Interpolation in Single-quotes?

by duff (Vicar)
on May 13, 2008 at 19:32 UTC ( #686350=note: print w/ replies, xml ) Need Help??


in reply to Interpolation in Single-quotes?

It's not interpolating anything. The normal way to get your string delimiter inside of your string is to prefix it with the \ character. So, for single quoted strings, you have two escape sequences that are understood: \\ and \'. Everything else is literal.


Comment on Re: Interpolation in Single-quotes?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-12-27 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (177 votes), past polls