diff options
author | Tony Cook <tony@develop-help.com> | 2016-03-30 16:48:40 +1100 |
---|---|---|
committer | Ricardo Signes <rjbs@cpan.org> | 2016-04-07 07:45:09 -0400 |
commit | 3c3c69d86c41a658a1d80f5e024b9f8e0b7b425a (patch) | |
tree | 897ccaa50248341fad199e7319fcca8d804fea16 | |
parent | 8f6eb0aa5efb953e32803878cca6d9c1e28ac03f (diff) | |
download | perl-3c3c69d86c41a658a1d80f5e024b9f8e0b7b425a.tar.gz |
add the new stat(@array) diagnostic to perldiag
-rw-r--r-- | pod/perldiag.pod | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 777226f4d1..941a108ae5 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -216,6 +216,11 @@ operator which expects either a number or a string matching C</^[a-zA-Z]*[0-9]*\z/>. See L<perlop/Auto-increment and Auto-decrement> for details. +=item Array passed to stat will be coerced to a scalar (did you want stat $_[0]?) + +(W syntax) You called stat() on an array, but the array will be +coerced to a scalar - the number of elements in the array. + =item assertion botched: %s (X) The malloc package that comes with Perl had an internal failure. |