Comment 7 for bug 2015234

Revision history for this message
Dirk Zimoch (dirk.zimoch) wrote :

$/ is newline by default
https://perldoc.perl.org/perlvar#%24%2F
That makes chomp remove only one newline.