in reply to Re^2: Blackslash confusion and newlines
in thread Blackslash confusion and newlines

If I used single quotes then I should not have this problem?

Yes :) maybe :) try it out

perlrebackslash#All the sequences and escapes

  • Comment on Re^3: Blackslash confusion and newlines

Replies are listed 'Best First'.
Re^4: Blackslash confusion and newlines
by pimperator (Acolyte) on May 31, 2014 at 00:31 UTC
    It works :O :D :) But just to make sure, if I used single quotes I don't have to worry about any other combinations? You said maybe
      That is correct. The only oddball is is a backslash at the very end of a string, its same for both '\\' or "\\" , but thats a compiler error, perl would let you know  Can't find string terminator "'"...