diff options
Diffstat (limited to 'Build/source/utils/asymptote/doc/FAQ/bfnnconv.pl')
-rwxr-xr-x | Build/source/utils/asymptote/doc/FAQ/bfnnconv.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/doc/FAQ/bfnnconv.pl b/Build/source/utils/asymptote/doc/FAQ/bfnnconv.pl index 0a705e2c68f..35a636b55e5 100755 --- a/Build/source/utils/asymptote/doc/FAQ/bfnnconv.pl +++ b/Build/source/utils/asymptote/doc/FAQ/bfnnconv.pl @@ -135,7 +135,11 @@ while (<>) { m/([^\\])\`/ || warn "`$_'"; $_= $'; $cmd= $`.$1; - $it= `$cmd`; chop $it; + if($cmd =~ s/^%perl //) { + $it= eval($cmd); + } else { + $it= `$cmd`; chop $it; + } print $fh $it; } print $fh $_; |