Syntactic Confectionery Delight | |
PerlMonks |
Re^5: Regular expressions across multiple linesby choroba (Cardinal) |
on Apr 25, 2016 at 12:11 UTC ( [id://1161443]=note: print w/replies, xml ) | Need Help?? |
> When reading in text mode and with the default input record separator of "\n" , chomp() will remove any of the line endings that "\n" could mean chomp in not related to reading in any mode. It just gets a string and changes it. readline might translate the line ending depending on the :crlf IO-layer.
In Section
Seekers of Perl Wisdom
|
|