Last active
August 29, 2015 14:17
-
-
Save xtetsuji/e6f3129cf5e66840e7eb to your computer and use it in GitHub Desktop.
This Perl program causes wonder error. Because one space in it is fake as Unicode.
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
#!/usr/bin/perl | |
use v5.10; | |
use strict; | |
use warnings; | |
for my $i (1..10) { | |
say "num is $i"; | |
} | |
__END__ | |
$ perl -wc include-no-break-space.pl | |
Unrecognized character \xC2; marked by <-- HERE after <-- HERE near column 1 at moge.pl line 8. | |
ちなみに、C2A0の文字をクリップボードに入れるには、Macでは | |
$ perl -E 'say "\xC2\xA0"' | pbcopy | |
とすればよいです。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment