Front page | perl.perl5.porters |
Postings from July 2020
Re: Announcing Perl 7
Thread Previous
|
Thread Next
From:
Todd Rinaldo
Date:
July 3, 2020 19:00
Subject:
Re: Announcing Perl 7
Message ID:
2C92DA61-10D2-402D-A702-2025B3C27BE3@cpanel.net
> On Jul 3, 2020, at 1:30 PM, Paul LeoNerd Evans <leonerd@leonerd.org.uk> wrote:
>
> On Fri, 3 Jul 2020 20:20:04 +0200
> demerphq <demerphq@gmail.com> 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