cpanel / perl-compiler

cPanel's custom implementation of B::C
https://cpanel.net
Other
8 stars 3 forks source link

RegEx - Accessing a variable inside a RegEx function call #51

Open atoomic opened 7 years ago

atoomic commented 7 years ago
my $s="toto"; 
$s =~ qr/to(?{ print "AA$s";})/;

This only returns AA when compiling with static_hv branch (HEAD=a50dded3cd477f5246d2c8008d6835107bbad727) the expected output is AAtoto

We are probably no pointing to the main pad somewhere