'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
In reply to Re^2: String Literals in Perl ('\\')
by tye
in thread String Literals in Perl
by root
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |