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

Re: Announcing Perl 7

Thread Previous | Thread Next
From:
Christian Walde
Date:
June 30, 2020 12:42
Subject:
Re: Announcing Perl 7
Message ID:
op.0m0ywscqydyjqt@xenwide.cihq
On Tue, 30 Jun 2020 08:32:43 +0200, Todd Rinaldo <toddr@cpanel.net> wrote:

>
>
>> On Jun 28, 2020, at 7:33 AM, Andreas Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de> wrote:
>>
>>>>>>> On Sun, 28 Jun 2020 03:39:52 -0500, Todd Rinaldo <toddr@cpanel.net> said:
>>
>>>> On Jun 28, 2020, at 2:38 AM, Paul LeoNerd Evans <leonerd@leonerd.org.uk> wrote:
>>>>
>>>> If `try` syntax becomes default - probably not in 7 but maybe in 8 -
>>>> then how is perltidy going to know how to properly format and indent
>>>> this, and all the other exciting syntax we hope to have in place by 8?
>>>>
>>
>>> Easily. They check $].
>>
>> Hi Todd,
>>
>> this does not work. For example, see here is a line of perl code:
>>
>>  print "Hello, Rinaldo";
>>
>> So what is $] in this line and how do you find out? If you simply run
>> it, you make a decision, with which interpreter you start it. And hereby
>> you influence the outcome for $]. So: the value of $] is a result of
>> your decision, not something intrinsic to the code.
>>
>> --
>> andreas
>
> My suggestion was that the version of perl critic runs under should dictate how it behaves.

Tryna be polite:

No.

Love,
the maintainer of the engine within Perl::Critic

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