develooper Front page | perl.perl5.porters | Postings from July 2020

Re: Dual-life perl 5-or-7 code and prototypes - impossible?

Thread Previous | Thread Next
From:
Kent Fredric
Date:
July 1, 2020 11:06
Subject:
Re: Dual-life perl 5-or-7 code and prototypes - impossible?
Message ID:
CAATnKFAsP=fpF3aWvpHT3P8x2X3OFmCqdTCkJ4YX_E+tEphTKA@mail.gmail.com
On Wed, 1 Jul 2020 at 22:10, Paul "LeoNerd" Evans
<leonerd@leonerd.org.uk> wrote:

> So what you're saying is that as a Perl 5 author, I have to guess what
> features 7 is going to turn on so I can preëmptively opt out of them
> before it comes?

Well, I guess you could also do:

 BEGIN {  %^H = ()  }

But at this rate, I half expect what that does to change one day too.

---
Kent

KENTNL - https://metacpan.org/author/KENTNL

Thread Previous | Thread Next


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