Created
August 14, 2018 09:16
-
-
Save gugod/2442174d791edd51699578e4bf8815b4 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
se strict; | |
close(STDERR); | |
close(STDOUT); | |
open OUT1, ">:utf8", "out1.txt"; | |
open OUT2, ">:utf8", "out2.txt"; | |
system("perl", "-Mutf8", "-c", "-e", 'my $a = 42'); | |
__END__ | |
> cat out1.txt | |
> cat out2.txt | |
-e syntax OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment