From 1b303a7dc1933fd49c1d654ed9fc6519de6d8548 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Sat, 8 Feb 2014 12:31:11 -0800 Subject: [PATCH] perldiag: Wrap long lines to avoid splain output like this on 80-column terminals: rewinddir() attempted on invalid dirhandle foo at -e line 1 (#1) (W io) The dirhandle you tried to do a rewinddir() on is either closed or no t really a dirhandle. Check your control flow. --- pod/perldiag.pod | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pod/perldiag.pod b/pod/perldiag.pod index fae542d..06dd5d4 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -4738,8 +4738,8 @@ always come last, to avoid ambiguity with subsequent unary operators. =item rewinddir() attempted on invalid dirhandle %s -(W io) The dirhandle you tried to do a rewinddir() on is either closed or not -really a dirhandle. Check your control flow. +(W io) The dirhandle you tried to do a rewinddir() on is either closed +or not really a dirhandle. Check your control flow. =item Scalars leaked: %d @@ -5901,8 +5901,9 @@ subroutine. %d (F) The Perl parser has no idea what to do with the specified character -in your Perl script (or eval) near the specified column. Perhaps you tried -to run a compressed script, a binary program, or a directory as a Perl program. +in your Perl script (or eval) near the specified column. Perhaps you +tried to run a compressed script, a binary program, or a directory as +a Perl program. =item Unrecognized escape \%c in character class in regex; marked by S<<-- HERE> in m/%s/ @@ -6246,7 +6247,8 @@ is deprecated. See L. =item Use of bare << to mean <<"" is deprecated (D deprecated) You are now encouraged to use the explicitly quoted -form if you wish to use an empty line as the terminator of the here-document. +form if you wish to use an empty line as the terminator of the +here-document. =item Use of chdir('') or chdir(undef) as chdir() deprecated @@ -6541,8 +6543,8 @@ gone out of scope, for example, } f()->(); -Here, when the '$a' in the eval is being compiled, f() is not currently being -executed, so its $a is not available for capture. +Here, when the '$a' in the eval is being compiled, f() is not currently +being executed, so its $a is not available for capture. =item Variable "%s" is not imported%s -- 1.8.3.1