|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
IO::File and use open qw(:std :utf8)by coolmichael (Chaplain) |
| on Jan 30, 2013 at 02:16 UTC ( #1015948=perlquestion: print w/ replies, xml ) | Need Help?? |
|
coolmichael has asked for the
wisdom of the Perl Monks concerning the following question:
IO::File->open() doesn't seem to respect use open() in the following program, which is odd to me and seems to be against the documentation. Or maybe I'm doing it wrong. Rewriting my code to not use IO::File shouldn't be difficult. Perlmonks is displaying the unicode character U+0213 as ȁ below, but it really is the correct unicode character in the source file. I expect the output to be
But I'm getting this error: "Oops: Malformed UTF-8 character (unexpected end of string) in print at ./run.pl line 33." That doesn't seem right to me at all.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||