in reply to Impact of special variables on regex match performance
So it has to play safe. Note that the following code goes wrong, because it can't see the magic var.my $one = one; eval "uncomment_$one()";
'abc' =~ m/b/; print( eval( '$`') , "\n")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Impact of special variables on regex match performance
by roubi (Hermit) on Dec 10, 2010 at 20:15 UTC |