Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2015-07-03 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (49 votes), past polls