Subject: | MultiLine doesn't handle q{} spanning lines |
This session with re.pl shows the problem:
$ perl -Mblib script/re.pl
$ q[ hello
Compile error: Can't find string terminator "]" anywhere before EOF at
(eval 272) line 5.
The problem is an incorrect branch in the logic.
Comparison with the Perl::Shell implementation
helped me to debug the problem and fix the code
in git. The current git performs as follows:
$ re.pl
$ q[ hello
Show quoted text
> ]
hello