In perldoc under this topic s is listed as "Treat string as a single line" and m as Treat string as multiples lines".
If I have text that has varying spaces at the begging of each line, and I use $string =~ s/^\s+//; It will remove the spaces from in from of the first line but not any other lines. That is clear to me. However, it does not clear all of the leading spaces from all of the lines if I use $string =~ m/^\s+//; In fact I'm getting error message compile error. What am I missing here? Thanks, Bruce Bowen