Created
September 5, 2017 09:18
-
-
Save jnthn/a999df1f89d24cdc6ffac42ca55be806 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Text/CSV.pm b/lib/Text/CSV.pm | |
index 7218b26..31b3dc8 100644 | |
--- a/lib/Text/CSV.pm | |
+++ b/lib/Text/CSV.pm | |
@@ -1760,6 +1760,7 @@ class Text::CSV { | |
} | |
my IO::Handle $io-out; | |
+ LEAVE if $out ~~ Str { .close with $io-out } | |
my Str $tmpfn; | |
# out | |
# Array - return AoA (default) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment