P is for Practical | |
PerlMonks |
Re^3: UTF8 Output with XML::Feed? (use utf8)by kcott (Archbishop) |
on Mar 07, 2022 at 18:47 UTC ( [id://11141893]=note: print w/replies, xml ) | Need Help?? |
"For what it's worth, the following appears to produce only a blank line." Please go back and (re)read the utf8 documentation; paying particular attention to the very clear and emboldened directive: Do not use this pragma for anything else than telling Perl that your script is written in UTF-8. The code you presented only contains 7-bit ASCII characters. You got what appeared to be a blank line. Here are some things you could have tried:
See: perlrun for -C; and, the open pragma. — Ken
In Section
Seekers of Perl Wisdom
|
|