[pm-h] perl application: I'm in over my head

Russell L. Harris rlharris at oplink.net
Wed Feb 7 15:44:51 PST 2007


* Russell L. Harris <rlharris at oplink.net> [070207 17:21]:
>
> Is there an easy way to send the perldoc output to the printer so that
> the pages are properly formatted -- something similar to the way
> formatted man pages may be printed with:
> 
>     man -t perldoc | lpr
 


Answering my own question, this works for modules: 

    perldoc -n groff -T perldoc | lpr

and this works for functions:

    perldoc -n groff -T -f splice | lpr

RLH



More information about the Houston mailing list