develooper Front page | perl.perl5.porters | Postings from October 2018

[perl #133583] Fatalize $* and $#

Thread Previous
From:
James E Keenan
Date:
October 12, 2018 15:53
Subject:
[perl #133583] Fatalize $* and $#
Message ID:
rt-4.0.24-25328-1539359619-1189.133583-75-0@perl.org
# New Ticket Created by  James E Keenan 
# Please include the string:  [perl #133583]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=133583 >


In this commit we implemented a warning, present in perl-5.28, that the 
use of $* and $# -- both long deprecated -- was no longer supported.

#####
commit a678626e6d2dd11740073117f5269f7efee639de
Author:     Abigail <abigail@abigail.be>
AuthorDate: Sun Jan 15 13:23:34 2017 +0100

     Revert "Remove deprecation warnings related to $* and $#."

     This reverts commit e9b5346b919b4f4cc0096af4644cb0d48d64e14c.

     We've decided that instead of leaving $* and $# as usuable, 
magic-free variables, we instead make it fatal to use them. Therefore, 
we restore the warnings their use gives, and in a subsequent commit, we 
fix the warning to indicate the version where their use becomes fatal.

#####

In preparation for perl-5.30, we need to fatalize their use and adjusts 
tests and documentation accordingly.

Thank you very much.


Thread Previous


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