in reply to Re^3: Printing the variable makes the next match code work. Why?
in thread Printing the variable makes the next match code work. Why?
So that the print statement includes a '\n' character, it works! And without the print line I previously thought I needed to make it work.print "$1 = the line"; ##### to #### print "$1 = the \n line";
|
|---|