CC: | caldrin [...] cpan.org |
Subject: | [MultiLine::PPI] paste-friendliness |
Paste the following lines into the REPL (with MultiLine::PPI plug-in
loaded):
my $s = '
foo
';
Expected result:
$ my $s = '
Show quoted text
> foo
> '
foo
Actual result:
Compile error: Can't find string terminator "'" anywhere before EOF at
(eval 561) line 5.
It helps to manually wrap the expression in an empty block, i.e. type
{, paste, type } and submit with Enter, but the software should be
smart enough to figure out by itself when this is needed and do this
automatically.