in reply to Re: catching \n
in thread catching \n

ok so I just said
unless ($msg =~ /[a-z]|[A-Z]|[0-9]/g) { $msg = "a"; }
and that seemed to fix the problem... so false alarm I guess