4 #$Pod::Text::termcap=1;
6 my $site_perl = "./site_perl";
7 #my $catman = "./catman";
8 my $catman = "./htdocs/docs/man";
9 #my $html = "./htdocs/docs/man";
13 die "Can't find $site_perl and $catman"
14 unless [ -d $site_perl ] && [ -d $catman ] && [ -d $html ];
16 foreach my $file (glob("$site_perl/*.pm")) {
17 $file =~ /\/([\w\-]+)\.pm$/ or die "oops file $file";
20 system "pod2text $file >$catman/$name.txt";
21 # system "pod2html --podpath=$site_perl $file >$html/$name.html";
22 # system "pod2html $file >$html/$name.html";