'\' doesn't work because there has to be some way to escape a single quote in a single-quoted literal, which is done - as usual - using a backslash.
BTW, I wouldn't know why using single quotes here should make a difference with respect to what the OP wants to achieve....
(As to the OP's problem, my suspicion is that Net::DNS is doing some escaping on its own — though I haven't verified it.)
In reply to Re^2: Create a TXT record for DKIM using Net::DNS
by almut
in thread Create a TXT record for DKIM using Net::DNS
by nethawk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |