This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta: Clarify -Di switch entry
authorKarl Williamson <khw@cpan.org>
Mon, 22 May 2017 22:10:33 +0000 (16:10 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 22 May 2017 22:11:47 +0000 (16:11 -0600)
I didn't understand this, and looked at the actual commits to figure it
out.

pod/perldelta.pod

index 073274b..17a6e46 100644 (file)
@@ -359,7 +359,8 @@ in that example.
 
 =head2 C<-Di> switch is now required for PerlIO debugging output
 
-Previously PerlIO debugging output would be sent to the file specified
+This is used for debugging of code within PerlIO to avoid recursive
+calls.  Previously this output would be sent to the file specified
 by the C<PERLIO_DEBUG> environment variable if perl wasn't running
 setuid and the C<-T> or C<-t> switches hadn't been parsed yet.
 
@@ -372,7 +373,7 @@ output.  By default this is written to C<stderr>, but can optionally
 be redirected to a file by setting the C<PERLIO_DEBUG> environment
 variable.
 
-If perl is running setuid or the C<-T> switch has supplied
+If perl is running setuid or the C<-T> switch was supplied,
 C<PERLIO_DEBUG> is ignored and the debugging output is sent to
 C<stderr> as for any other C<-D> switch.