Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^4: Blackslash confusion and newlines

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


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

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

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