-
-
Save anonymous/e0282b998cb996d54e50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my $code = <<'EOF'; | |
#line 1 "template" | |
sub { my $_M = ''; ; do { $_M .= "test\ | |
123\n"; | |
die 'should be line 3'; | |
$_M .= "test\n"; | |
#line 4 "template" | |
; $_M } }; | |
EOF | |
my $compiled = eval $code; | |
$compiled->(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment