This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make perldoc use backslashed pathnames within system() on win32
authorGurusamy Sarathy <gsar@cpan.org>
Wed, 5 May 1999 16:20:19 +0000 (16:20 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Wed, 5 May 1999 16:20:19 +0000 (16:20 +0000)
p4raw-id: //depot/perl@3305

pod/perldiag.pod
pod/perlthrtut.pod
utils/perldoc.PL

index 7e5ab16..8bc5cdb 100644 (file)
@@ -2926,7 +2926,7 @@ bad side effects.
 
 (W) An undefined value was used as if it were already defined.  It was
 interpreted as a "" or a 0, but maybe it was a mistake.  To suppress this
-warning assign an initial value to your variables.
+warning assign a defined value to your variables.
 
 =item Useless use of "re" pragma
 
index db2a319..f2ca3bd 100644 (file)
@@ -843,7 +843,7 @@ like so:
     use Config; 
     $Running_Threaded = 0;
 
-    BEGIN { $Running_Threaded = $Config{'usethreaded'} }
+    BEGIN { $Running_Threaded = $Config{'usethreads'} }
 
     sub sub1 { lock(\&sub1) if $Running_Threaded }
 
index ed533f5..d4090c8 100644 (file)
@@ -384,6 +384,7 @@ if ($Is_MSWin32) {
        $tmp = "$ENV{TEMP}\\perldoc1.$$";
        push @pagers, qw( more< less notepad );
        unshift @pagers, $ENV{PAGER}  if $ENV{PAGER};
+       for (@found) { s,/,\\,g }
 } elsif ($Is_VMS) {
        $tmp = 'Sys$Scratch:perldoc.tmp1_'.$$;
        push @pagers, qw( most more less type/page );