Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://686350]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2017-07-24 06:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (348 votes). Check out past polls.