Don't ask to ask, just ask | |
PerlMonks |
Re: Question about regex. ($INPUT_RECORD_SEPARATOR)by LanX (Saint) |
on Sep 29, 2020 at 11:12 UTC ( [id://11122322]=note: print w/replies, xml ) | Need Help?? |
> Where am I going wrong? Short-answer: You need to set $/ aka $INPUT_RECORD_SEPARATOR before you start reading the <input> , not inside the loop. You already got this from the previous longer answers, but I wanted to make it clear for those who didn't manage to dig thru all the code.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|