Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2015-11-25 15:56 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (682 votes), past polls