in reply to
A splitting question
$/
is the input record separator, newline by default
So of course it matches, did you mean something different? Did you want to compare $_ ?
Have a nice day
All decision is left to your taste
Comment on
RE: A splitting question
In Section
Seekers of Perl Wisdom