#!perl

# See the documentation in PDOC.BAT for the use of this file!
# This script must be placed in your    C:\PERL\BIN   folder,
# or you must change lines 3 and 4 of PDOC.BAT to point to
# the drive and location of your Perl BIN folder.

# The Starman
# 

# All the command line switches are actually sent to perldoc.bat
# Its output is collected temporarily in $bufferit:

$bufferit = `perldoc @ARGV`;

# Creates or overwrites TEMP.tmp in your Perl BIN folder to
# store the output of $bufferit:

open PDOUTPUT, ">TEMP.tmp";
print PDOUTPUT $bufferit;
close PDOUTPUT;
exit (1);

    Source: geocities.com/thestarman3/perl

               ( geocities.com/thestarman3)