Skip to content

Support heredoc opened inside the evaluation #2905

Open
@hurricup

Description

@hurricup

E.g.

use v5.10;

my $text = 'test';
$text =~ s/test/<<EOM/e;
outer test
EOM

say $text

This require mandatory sublexing of lazy elements, so not sure if this is good performance-wise

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions