Use $^O, plus miscellaneous minor bugfixen
Perl 5 Porters [Sun, 17 Mar 1996 10:15:33 +0000 (10:15 +0000)]
pod/pod2latex.PL

index bd6df71..34b1faa 100644 (file)
@@ -15,8 +15,7 @@ use File::Basename qw(&basename &dirname);
 chdir(dirname($0));
 ($file = basename($0)) =~ s/\.PL$//;
 $file =~ s/\.pl$//
-       if ($Config{'osname'} eq 'VMS' or
-           $Config{'osname'} eq 'OS2');  # "case-forgiving"
+       if ($^O eq 'VMS' or $^O eq 'os2');  # "case-forgiving"
 
 open OUT,">$file" or die "Can't create $file: $!";