We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f81a88 commit 9e1ad48Copy full SHA for 9e1ad48
extract_matches.perl
@@ -164,7 +164,9 @@ BEGIN
164
# Update the current line being matched
165
if ($restore ne "") {
166
## OLD: my($restore_text) = eval { "$restore"; };
167
- my($restore_text) = eval "$restore";
+ ## BAD: my($restore_text) = eval "$restore";
168
+ ## NOTE: Due to a change in Perl, need to evaluate the variables in the context of a string.
169
+ my($restore_text) = eval " \"$restore\" ";
170
&debug_print(&TL_DETAILED, "restoring $restore_text to line\n");
171
$_ = $restore_text . $'; # '
172
&debug_print(&TL_VERBOSE, "line='$_'\n");
0 commit comments