Subject: | dynamically substr(...) does not restore |
eval: use feature 'say'; use Syntax::Keyword::Dynamically; my $s = "foobar"; { dynamically substr($s, 3,0) = "baz"; say $s; } say $s;
foobazbar
foobazbar
Expected output is:
foobazbar
foobar
--
Paul Evans