in reply to Re: To Single Quote or to Double Quote
in thread To Single Quote or to Double Quote
single quotes will escape all escape charater
Not completely:
Anyway, it works the other way around: single quotes interpret only a few escape sequences, double quotes have more (and they interpolate variables).print 'there\'s a \' quote here, there\'s a \\ backslash here';
See the section on "Quote and Quote-like Operators" in perlop.
|
|---|