in reply to Re: Hash key/value
in thread Hash key/value
For example,
print 'that\'s it', "\n"; print 'that\'s it\!', "\n"; print 'that\'s it\\!', "\n";
that's it \ escapes the delimiter (') that's it\! \ wasn't followed by the delimiter (') or \ that's it\! \ escapes \
Contrast with double-quotes:
print "\"that's it!\"\n"; print "\"that's it\!\"\n"; print "\"that's it\\!\"\n";
"that's it!" \ escapes " "that's it!" \ escapes ! "that's it\!" \ escapes \
|
|---|