Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Single Quotes - how to avoid any escape processing?

by moritz (Cardinal)
on Jan 31, 2013 at 20:14 UTC ( #1016387=note: print w/replies, xml ) Need Help??

in reply to Single Quotes - how to avoid any escape processing?

So is there a (simple) way to put a string into a scalar variable without any character escaping or processing of the contents of that string at all?

Not that I know of.

If you have large amounts of such data, maybe put them in a __DATA__ section, or into a config file.

That said, Perl 6 has a quoting construct Q'...' that doesn't have any escape sequences. Of course you can't escape the closing delimiter then.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016387]
[erix]: AngloZionist
[shmem]: and it is *not* pro-russian. It describes the western world.
[erix]: I'm not going to read it so I could be mistaken but it reeks of useful idiocy
[shmem]: AngloZionist is not an antisemitic term.
[shmem]: erix: be assured that we all are horribly mistaken, always. What would we write tests for, if not for that fact?
[shmem]: and then, audiatur et altera pars.
[erix]: and what's the "Vineyard"? Don't tell me it's doing supernatural stuff too.
[shmem]: go figure. Might help to open views to other ways of perceiving reality. No, no supernatural stuff.
[shmem]: the "Vineyard" is a biblic term, also. But that's not the point.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2018-03-19 20:59 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (246 votes). Check out past polls.