As a solution, you could escape the quote using a backslash (\").
Thanks - that seems to work fine.
I must admit that """ as an escape for " is very unexpected to me.
Me, too.
In fact, it was so unexpected that I didn't even consider the possibility of that being its purpose.
Upon reflection, however, I think I've been told about that before ... and then forgotten ....
I reckon I'll be able to remember it now ... for at least a fortnight.
UPDATE: For anyone who is wondering, it's the white space between the 2 triplets of double-quotes that's tripping things up on perl-5.40.0:
C:\>perl -we "printf("""Version:%s\n""", $]);"
Version:5.040000
C:\>perl -we "printf("""Version: %s\n""", $]);"
Can't find string terminator '"' anywhere before EOF at -e line 1
Cheers,
Rob