in reply to Re: •Re: Line ending transformation
in thread Line ending transformation

Oh, then what you want is:
$main::stateIn{'address'} =~ s/\015\012|\012|\015/\n/g;

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.