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

Re: Announcing Perl 7

Thread Previous | Thread Next
Todd Rinaldo
July 3, 2020 19:00
Re: Announcing Perl 7
Message ID:

> On Jul 3, 2020, at 1:30 PM, Paul LeoNerd Evans <> wrote:
> On Fri, 3 Jul 2020 20:20:04 +0200
> demerphq <> wrote:
>> I mean, what will this do to eval statements? Does every eval TEXT
>> have to be prefixed with a 'use v7' or whatever?
> Mmm... That's another exciting question I hadn't considered.
> * The contents of a -e or -E commandline argument

I think that does need to be discussed. It may be that -e needs to be v5 and deprecated in 7 in favor of -E which uses the v equal to the version of perl that invoked it.

> * A string given to eval()

I don't see the problem. $^H inherits from the scope it comes out of right? so eval should follow the same rules as the line it was invoked from unless it changes them, right?

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