in reply to formats output \r\n question

People are probably more familiar with
local $/ = 'modified input record separator';
and yet another way to skin this cat is to use its brother:
local $\ = chr(10) . chr(13);

-M

Free your mind