this is a windows utility (a wrapper for POD2HTML, really) to make HTML pod pages that use activestate's css. see pod for more.
#! perl.exe -w =pod =head1 Overview Modules installed with PPM automatically get HTML pod created for them. Unfortunately PPM has far fewer packages than CPAN, so it's quite likely that you'll turn to CPAN for a module at some point in time and CPAN doesn't care to automatically generate these files for you. This script attempts to alleviate that problem by assisting the user with pod2html, which can be tedious to use when running with multiple modules. Be sure to modify PERLPATH and HTMLPATH to values that make sense for your system. This script is released into the public domain. =head1 Usage $0 Module::Name1 Module::Name2 ... Module::NameN =cut use strict; use File::Path; use constant PERLPATH =>"D:/perl/site/lib"; use constant HTMLPATH =>"D:/perl/html/site/lib"; foreach (@ARGV){ my @mod = split /::/; my $in = join '/',PERLPATH,@mod; $in.=".pm"; my $fn = pop @mod; my $out = join '/',HTMLPATH, @mod; mkpath $out; $out .="/$fn.html"; my $css .="../" x (@mod + 1); $css .="active.css"; system "pod2html --infile=$in --outfile=$out --css=$css" }

Replies are listed 'Best First'.
Re: perldocker
by mexnix (Pilgrim) on Oct 10, 2002 at 04:16 UTC
    I have found this to be very useful use it on 99% of the Win32 systems I use. My only qualms are with the (PERL|HTML)PATH variables and $css. I personally would think, for portablitly, make PERLPATH the path to "C:/Perl". ( or whatever it is on your machine ) Then make set $HTMLPATH and $MODULEPATH to
    PERLPATH . "/path/to/whatever"
    since those paths hardly change. Then set $css to
    PERLPATH . "/html/Active.css"
    . Just my $0.02. Makes less editing for lazy people like me. I even made a .bat file for perldocker so I can call it from Run. I'm sad, aren't I? :)

    tehmex
Re: perldocker
by Mr. Muskrat (Canon) on Apr 26, 2002 at 18:45 UTC
    Very nice. I can see using this on a weekly basis (that's about how often I find myself download from CPAN instead of using PPM.
    I'd ++ if I could but I'm only a lowly initiate. ;)

    Matthew Musgrove
    Who says that programmers can't work in the Marketing Department?
    Or is that who says that Marketing people can't program?
Re: perldocker
by Mr. Muskrat (Canon) on Apr 29, 2002 at 17:26 UTC
    You got your ++ now that I leveled up.

    Matthew Musgrove
    Who says that programmers can't work in the Marketing Department?
    Or is that who says that Marketing people can't program?