diff options
Diffstat (limited to 'Master/texmf-dist/doc/support/latexmk/example_rcfiles/asymptote_latexmkrc')
-rw-r--r-- | Master/texmf-dist/doc/support/latexmk/example_rcfiles/asymptote_latexmkrc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/support/latexmk/example_rcfiles/asymptote_latexmkrc b/Master/texmf-dist/doc/support/latexmk/example_rcfiles/asymptote_latexmkrc index 45f32979d0f..7a7425ff47e 100644 --- a/Master/texmf-dist/doc/support/latexmk/example_rcfiles/asymptote_latexmkrc +++ b/Master/texmf-dist/doc/support/latexmk/example_rcfiles/asymptote_latexmkrc @@ -48,8 +48,7 @@ sub asy2tex { return asy2x( $_[0], 'tex' ); } sub asy2x { my $ret = system("asy -vv -f '$_[1]' '$_[0]' >& '$_[0].log'"); - my $FH = new FileHandle; - open $FH, "$_[0].log"; + open( my $FH, "<", "$_[0].log" ); %imp = (); while (<$FH>) { |