Skip Menu |
 

This queue is for tickets about the Convert-Morse CPAN distribution.

Report information
The Basics
Id: 30583
Status: resolved
Estimated: 30 min
Priority: 0/
Queue: Convert-Morse

People
Owner: TELS [...] cpan.org
Requestors: lallip [...] cs.rpi.edu
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.03
  • 0.04
  • 0.05
Fixed in: (no value)



Subject: Only converts up to first newline
Download (untitled) / with headers
text/plain 480b
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.
This bug has been resolved with the release of v0.06 :) Thank you for your report!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.