Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: String Literals in Perl ('\\')

by tye (Cardinal)
on Jul 27, 2006 at 14:27 UTC ( #564108=note: print w/ replies, xml ) Need Help??


in reply to Re: String Literals in Perl
in thread String Literals in Perl

'hi\there' #has eight characters and represents"hi\there"

was confusing so I updated it to:

'hi\there' #has eight characters and represents"hi\\there" (one \ in the string)

More importantly, however:

'blah\\blah' #has ten characters and represents "blah\\blah"

was incorrect so I updated it to

'blah\\blah' #has nine characters and represents "blah\\blah" (one \ in the string)

Thanks for the note. Next time, please don't remove the "Re^X:" from the front of the title.

- tye        


Comment on Re^2: String Literals in Perl ('\\')

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2014-08-01 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (257 votes), past polls