Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with perldoc on module

Status
Not open for further replies.

MrCBofBCinTX

Technical User
Dec 24, 2003
164
0
0
US
I am trying to patch Text::Autoformat to get a working man page and perldoc

# perldoc Autoformat.pm
Got a 0-length file from Autoformat.pm via Pod::perldoc::ToMan!?

I also checked /usr/ports/pobj/p5-Text-Autoformat-1.12p0/Text-Autoformat-1.12/blib/lib/Text/Autoformat.pm
and /usr/ports/pobj/p5-Text-Autoformat-1.12p0/Text-Autoformat-1.12/lib/Text/Autoformat.pm

There is a lengthy POD inside that should be working.

I just tried removing all the perl code in the module ( up from __END__) and perldoc works fine
 
Hmm, this module contains 3 packages

package Text::Autoformat;
package Hang;
package NullHang;

By cutting and pasting I have reolved the problem to lie within package Text::Autoformat section.

Without that all works fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top