X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/5d1892be338d6bf95fbda32ca575c0395a66f1a7..a3342be368:/pod/perldiag.pod diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 97f16a4..9ef46e4 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -238,6 +238,11 @@ spots. This is now heavily deprecated. (P) A general assertion failed. The file in question must be examined. +=item Assigning non-zero to $[ is no longer possible + +(F) The special variable C<$[>, deprecated in older perls, is now a fixed +zero value, because the feature that it used to control has been removed. + =item Assignment to both a list and a scalar (F) If you assign to a conditional operator, the 2nd and 3rd arguments @@ -3408,13 +3413,6 @@ there are in the savestack. (P) Failed an internal consistency check while trying to reset a weak reference. -=item panic: Devel::DProf inconsistent subroutine return - -(P) Devel::DProf called a subroutine that exited using goto(LABEL), -last(LABEL) or next(LABEL). Leaving that way a subroutine called from -an XSUB will lead very probably to a crash of the interpreter. This is -a bug that will hopefully one day get fixed. - =item panic: die %s (P) We popped the context stack to an eval context, and then discovered @@ -3564,6 +3562,12 @@ scalar's string buffer. (P) The sv_insert() routine was told to remove more string than there was string. +=item panic: strxfrm() gets absurd - a => %u, ab => %u + +(P) The interpreter's sanity check of the C function strxfrm() failed. +In your current locale the returned transformation of the string "ab" is +shorter than that of the string "a", which makes no sense. + =item panic: top_env (P) The compiler attempted to do a goto, or something weird like that. @@ -4451,8 +4455,7 @@ before this, because Perl is good at understanding random input. Occasionally the line number may be misleading, and once in a blue moon the only way to figure out what's triggering the error is to call C repeatedly, chopping away half the program each time to see -if the error went away. Sort of the cybernetic version of S<20 -questions>. +if the error went away. Sort of the cybernetic version of S<20 questions>. =item syntax error at line %d: `%s' unexpected @@ -4506,21 +4509,6 @@ a dirhandle. Check your control flow. (W unopened) You tried to use the tell() function on a filehandle that was either never opened or has since been closed. -=item That use of $[ is unsupported - -(F) Assignment to C<$[> is now strictly circumscribed, and interpreted -as a compiler directive. You may say only one of - - $[ = 0; - $[ = 1; - ... - local $[ = 0; - local $[ = 1; - ... - -This is to prevent the problem of one module changing the array base out -from under another module inadvertently. See L. - =item The crypt() function is unimplemented due to excessive paranoia (F) Configure couldn't find the crypt() function on your machine, @@ -4663,6 +4651,13 @@ disallowed. See L. (F) Your machine doesn't implement a file truncation mechanism that Configure knows about. +=item Type of arg %d to &CORE::%s must be %s + +(F) The subroutine in question in the CORE package requires its argument +to be a hard reference to data of the specified type. Overloading is +ignored, so a reference to an object that is not the specified type, but +nonetheless has overloading to handle it, will still not be accepted. + =item Type of arg %d to %s must be %s (not %s) (F) This function requires the argument in that position to be of a @@ -5114,11 +5109,6 @@ you can write it as C to avoid this warning. (F) The "use" keyword is recognized and executed at compile time, and returns no useful value. See L. -=item Use of assignment to $[ is deprecated - -(D deprecated) The C<$[> variable (index of the first element in an array) -is deprecated. See L. - =item Use of bare << to mean <<"" is deprecated (D deprecated) You are now encouraged to use the explicitly quoted