good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
[SOLVED]: Binary File warning when using POD documentationby amcleod (Novice) |
on Sep 05, 2021 at 15:55 UTC ( [id://11136469]=perlquestion: print w/replies, xml ) | Need Help?? |
amcleod has asked for the wisdom of the Perl Monks concerning the following question: A minor, but annoying issue: I want to start using POD documentation in my projects, but the simplest attempt results in a warning message when trying to display the documentation: Pressing Y displays the documentation as expected. Pressing ENTER twice causes output to be displayed with the ANSI sequences munged by removing the ESC characters.
Note the '?' characters where the ESC characters would be expected. And here is the simple program I am using to test:
I can see no reason for the resulting documentation to be considered binary. The only think in the output that I can see that is even close are the ESC characters in the ANSI sequences and they are simple control characters, which I doubt are an issue for the terminal. Running perldoc perlpod produces nothing on the matter. Googling has turned up no suggestions, far less answers. Sure, I can just press Y and the documentation is displayed, but that is simply accepting the issue instead of trying to correct it. Anyone got an idea what I'm doing wrong, or how this can be solved? (By the way, I occasionally see this same behaviour with other POD documentation from other sources, but it is thankfully rare.)
Back to
Seekers of Perl Wisdom
|
|