diff options
Diffstat (limited to 'graphics/asymptote/doc/FAQ/bfnnconv.pl')
-rwxr-xr-x | graphics/asymptote/doc/FAQ/bfnnconv.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/asymptote/doc/FAQ/bfnnconv.pl b/graphics/asymptote/doc/FAQ/bfnnconv.pl index 0a705e2c68..35a636b55e 100755 --- a/graphics/asymptote/doc/FAQ/bfnnconv.pl +++ b/graphics/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 $_; |