diff options
author | Abigail <abigail@abigail.be> | 2017-01-14 18:25:48 +0100 |
---|---|---|
committer | Abigail <abigail@abigail.be> | 2017-01-16 19:18:16 +0100 |
commit | 9840d1d66ee1648f6d7fb1554101450158cfee16 (patch) | |
tree | fad38c50cb323f98d4ef0a7bf40bd63c7904cbef /pad.c | |
parent | 24ca458667a908883f2aad18ea28ad1a5637534e (diff) | |
download | perl-9840d1d66ee1648f6d7fb1554101450158cfee16.tar.gz |
Deprecating the modifyable variables in constants by 5.32.
It was already deprecated, but we're now adding a version number.
Diffstat (limited to 'pad.c')
-rw-r--r-- | pad.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2159,7 +2159,8 @@ S_cv_clone_pad(pTHX_ CV *proto, CV *cv, CV *outside, HV *cloned, "Constants from lexical " "variables potentially " "modified elsewhere are " - "deprecated"); + "deprecated. This will not " + "be allowed in Perl 5.32"); /* We *copy* the lexical variable, and donate the copy to newCONSTSUB. Yes, this is ugly, and should be killed. We need to do this for the |