Hi, Brian ...

On Wed, 12 Apr 2000, Brian Snyder wrote:

> Hi all, what are these POD doc files?  What format is that and what
> application is required to read this?

you can convert POD to text, man, latex and some other formats.  the
programs used for this are perl scripts named pod2text, pod2man etc.

the easiest of these is pod2text which looks like this:

------------------8<--------------------------
#!/usr/bin/perl
    eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
        if $running_under_some_shell;
use Pod::Text;
if(@ARGV) {
  pod2text($ARGV[0]);
} else {
  pod2text("<&STDIN");
}
------------------8<--------------------------

pod2html is originally longer, but can be stripped to just this:

------------------8<--------------------------
#!/usr/bin/perl
use Pod::Html;
pod2html @ARGV;
------------------8<--------------------------

which is extremely short i think ;-)

hope that helps.
                                        Alfe

   ____    ________
  /___/   /___/___  http://www.cs.tu-berlin.de/~alfebtcd, Alfe @ TubMud
 /___/___/___/___   Alexander Fetke,  Bruno-Taut-Ring 5b,  12359 Berlin
/   /___/   /___    +49-30-60109906,  [EMAIL PROTECTED], +49-30-44340358

Brian Snyder.vcf

Reply via email to