in reply to The sad state of Perl documentation
$ perldoc -u HTTP::Request > HTTP_Request.pod $ pod2latex HTTP_Request.pod $ perl -e 'open TEX, "+< HTTP_Request.tex" or die; @l = <TEX>; seek TEX, 0, 0; truncate TEX, 0; print TEX "\\documentclass[10pt]{article}\\begin{document}", $/, print TEX map { s/^%\\/\\/; $_ } @l; print TEX "\\end{document}", $/; close TEX;' $ pdflatex HTTP_Request.tex
here are HTTP::Request and strict. PostScript is similarly easy to generate by replacing pdflatex with pslatex.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: The sad state of Perl documentation
by merlyn (Sage) on Sep 14, 2000 at 03:11 UTC | |
|
RE: RE: The sad state of Perl documentation
by SuperCruncher (Pilgrim) on Sep 14, 2000 at 21:14 UTC | |
by mdillon (Priest) on Sep 14, 2000 at 21:19 UTC |