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 08bea68 commit 9046903Copy full SHA for 9046903
1 file changed
bin/fix.pl
@@ -101,7 +101,7 @@ ($)
101
102
if ($opt_fixinterp && defined($path) && $path ne "") {
103
$source =~ s/^#!.*perl.*\n/#!$path\n/
104
- unless $source =~ @^#!/usr/bin/env perl$@;
+ unless $source =~ m{^#!/usr/bin/env perl$};
105
}
106
107
if ($opt_fixlibdir) {
@@ -135,7 +135,7 @@ ($)
135
136
137
$source =~ s/^#!.*python.*\n/#!$path\n/
138
- unless $source =~ @^#!/usr/bin/env python3?$@;
+ unless $source =~ m{^#!/usr/bin/env python3?$};
139
140
141
return $source;
0 commit comments