Forums.ATC.no

Teknisk => Generelt teknisk => Emne startet av: ATC på 15. Oktober 2008, 22:24 pm

Tittel: Perldoc shows single quotes as garbage characters
Skrevet av: ATC15. Oktober 2008, 22:24 pm
When using 'perldoc', code examples are garbled beyond practical use by any occurances of special characters like single quotes.
Tittel: [Solved] Perldoc shows single quotes as garbage characters
Skrevet av: ATC15. Oktober 2008, 22:24 pm
This is usually caused by broken terminal settings, but there's a very simple workaround. Simply tell perldoc to display text using pod2text instead of pod2man and nroff.

perldoc -t

Or more conveniently: Edit your ~/.bash_profile and add the following:
export PERLDOC="-t"