X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fpod2usage.PL;h=e0f70b2ca4fad950edaddfd7dccd08a7044e8798;hb=db22727b1cdf038cfb2d069831d76310ffc4b838;hp=adf49bd69d172f4cdaa62f2632feab2693adfca5;hpb=933fea7ffa6c794a1a2b8e713eb2b30851598bc8;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/pod2usage.PL b/pod/pod2usage.PL index adf49bd..e0f70b2 100644 --- a/pod/pod2usage.PL +++ b/pod/pod2usage.PL @@ -16,8 +16,8 @@ use Cwd; $origdir = cwd; chdir(dirname($0)); ($file = basename($0)) =~ s/\.PL$//; -$file =~ s/\.pl$// - if ($^O eq 'VMS' or $^O eq 'os2' or $^O eq 'dos'); # "case-forgiving" +$file =~ s/\.pl$// if ($^O eq 'os2' or $^O eq 'dos'); # "case-forgiving" +$file =~ s/\.pl$/.com/ if ($^O eq 'VMS'); # "case-forgiving" open OUT,">$file" or die "Can't create $file: $!"; @@ -39,10 +39,7 @@ print OUT <<'!NO!SUBS!'; ############################################################################# # pod2usage -- command to print usage messages from embedded pod docs # -# Derived from Tom Christiansen's pod2text script. -# (with extensive modifications) -# -# Copyright (c) 1996 Bradford Appleton. All rights reserved. +# Copyright (c) 1996-1999 by Bradford Appleton. All rights reserved. # This file is part of "PodParser". PodParser is free software; # you can redistribute it and/or modify it under the same terms # as Perl itself.