|Perl: the Markov chain saw|
Perldoc Problem: Linux or Perl?by Ovid (Cardinal)
|on Mar 16, 2003 at 16:21 UTC ( #243485=perlquestion: print w/replies, xml )||Need Help??|
Ovid has asked for the wisdom of the Perl Monks concerning the following question:
I recently upgraded to RH Linux 8.0 and perldoc seems to be displaying escape sequences. It runs just fine, but output appears as follows
$ perldoc Class::DBI Class::DBI(3) User Contributed Perl Documentation Class::DBI(3) ESC[1mNAMEESC[0m Class::DBI - Simple Database Abstraction ESC[1mSYNOPSISESC[0m package Music::DBI; use base 'Class::DBI'; Music::DBI->set_db('Main', 'dbi:mysql', 'username', 'password');
(Note that "ESC" is actually white text on a black background).
Frankly, I haven't a clue on how to debug this. Is this a general Linux issue? My man pages appear fine. General info:
A quick discussion in the chatterbox has revealed that I am not the only monk to have this problem. Petruchio notes that he has a similar problem and redirecting the output to a file and examining it with a hex editor reveals that the escape sequences appear to be properly formed.
I can get around this with perldoc -t module_name, but it would be nice to get this working.
New address of my CGI Course.
Back to Seekers of Perl Wisdom