Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Blackslash confusion and newlines

by pimperator (Acolyte)
on May 31, 2014 at 00:28 UTC ( [id://1088086] : note . print w/replies, xml ) Need Help??


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

If I used single quotes then I should not have this problem?
  • Comment on Re^2: Blackslash confusion and newlines

Replies are listed 'Best First'.
Re^3: Blackslash confusion and newlines
by Anonymous Monk on May 31, 2014 at 00:29 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 "'"...