in reply to Re^3: Removing double carriage return
in thread Removing double carriage return
This is the why GrandFather is using "local $/;" in his script which is referenced by pvaldes reply.
The proper way to reference GrandFathers reply is to respond to GrandFathers reply and copy/paste the most critical portion (local $/)
What pvaldes has done is update his reply without notice
This is his original node
match 3 or more carriage returns... maybe like this? <code>if =~ m/[\n]{3,}/</code>
|
|---|