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>
In reply to Re^4: Removing double carriage return
by Anonymous Monk
in thread Removing double carriage return
by dragooneye
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |