develooper Front page | perl.perl5.changes | Postings from September 2021

[Perl/perl5] 7ebc59: Prefix "unexpected constant lvalue entersub"with ...

Nicholas Clark via perl5-changes
September 18, 2021 08:20
[Perl/perl5] 7ebc59: Prefix "unexpected constant lvalue entersub"with ...
Message ID:
  Branch: refs/heads/blead
  Commit: 7ebc59cd46fc3a16a5785f6a7235a7ee8126aabd
  Author: Nicholas Clark <>
  Date:   2021-09-18 (Sat, 18 Sep 2021)

  Changed paths:
    M op.c
    M pod/perldiag.pod

  Log Message:
  Prefix "unexpected constant lvalue entersub" with "panic: "

In Sep 1999 commit cd06dffe59d6 added various "internal error" croak()s:
    initial implementation of lvalue subroutines (slightly fixed
    version of patch suggested by Ilya Zakharevich, which in turn
    is based on the one suggested by Tuomas J. Lukka <>)

One was "panic: unexpected lvalue entersub entry via type/targ %ld:%ld"
Another "Unexpected constant lvalue entersub entry via type/targ %ld:%ld"

Prefix the latter with "panic: " to make it consistent.

  Commit: 6a3871b339dd83437e4d00d00f6fd5e3e4069cec
  Author: Nicholas Clark <>
  Date:   2021-09-18 (Sat, 18 Sep 2021)

  Changed paths:
    M pod/perldiag.pod

  Log Message:
  Remove descriptions of deleted "Panics" from perldiag.pod

"Bad hash" and "Can't modify nonexistent substring" were removed in March
2015 as part of commit 3dc78631ef832e5b:
    don't test non-null args

"Can't check filesystem of script "%s" for nosuid"
and "Can't stat script "%s"" were removed in Jan 2009 as part of
commit cc69b689ee7c2745:
    suidperl goes.

"do_study: out of memory" was removed in May 2012 as part of commit
    Delete the contents of pp_study

"Null realloc" was removed in June 1998 as part of commit 7614df0c0f0d0458:
    added patch, undo earlier workaround
            Subject: Re: Why does saferealloc(NULL,size) croak? [PATCH] against _66
            Message-ID: <>

"NULL regexp argument" was removed in April 2007 as part of commit
    Re: [PATCH (incomplete)] Make regcomp use SV* sv, instead of char* exp, char* xend
    Message-ID: <>

"panic: do_subst" was renamed in Dec 2000 as part of commit 2269b42e02cee868:
    Make some panic messages a bit more logical.

"panic: do_trans_%" was removed in Nov 2019 as part of commit f34acfecc286:
    Reimplement tr/// without swashes

"panic: last, type=%u" was removed in May 2015 as part of commit
    pp_last: only handle loop context types

"panic: leave_scope clearsv" was removed in April 1999 as part of commit
    remove duplicate code and an extra branch in sv_setsv() and
    other hot code by making SvTHINKFIRST() think about FAKE SVs

"panic: strxfrm() gets absurd - a => %u, ab => %u" was removed in April
2016 as part of commit 79f120c89a6e1237:
    Change calculation of locale collation coefficients

Compare: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About