Presuming the default value of $/ then at any time <DATA> is going to have returned after encountering the first newline. The next read will produce a string containing just a single "\n". At no time will $_ ever hold more than a single newline.
In reply to Re: Multiple newline regex
by Fletch
in thread Multiple newline regex
by rhythmicus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |