i made the following changes to my version of
scandoc.pl:
added:
use File::Basename;
changed:
# Read the template
if (!defined $opt_i) {
my ($name, $path, $suffix) = fileparse($0,"");
$opt_i = $path . "scandoc-default.pl";
}
so it will look for "scandoc-default.pl" in the same
directory where scandoc.pl was run from. i
used "scandoc-default.pl" instead of "default.pl", so
then all the scandoc.* files can be added to my "bin"
directory, and i could find them all easily. (to make
the package more self-contained)
i'm not sure if the name "scandoc-default.pl" will
cause problems in other operating systems (i'm using
windows 2000); i know it's ok for linux, and most
other unixes.