local $\ = '\r\n';
Makeshifts last the longest.
In reply to Re^2: chomp() problems by Aristotle in thread chomp() problems by Anonymous Monk