|Subject:||Only converts up to first newline|
as_morse only converts up to the first newline in the passed-in string. This is because the regexp that does the conversion is missing the /s modifier, so the '.' wildcard does not match newlines. In the as_morse subroutine, $ascii =~ s/\G$regexp_ascii_morse/_convert($1,$ascii_morse);/ge; should be: $ascii =~ s/\G$regexp_ascii_morse/_convert($1,$ascii_morse);/gse; If this is for some reason intentional, it should at the very least be mentioned in the documentation.