in reply to Re: Missing error under strict (Perlbug: postfix 'until' has inconsistent scope)
in thread Missing error under strict

It's a bug definitely. When using if instead of until, it outputs 666.

> I have problem to imagine practical code, where this bug is posing a problem.

The bug might manifest in other places, too, where it can cause serious headaches. I've already reported a bug for this Perl version, do you want to have your name mentioned in the Thanks section?

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^3: Missing error under strict (Perlbug: postfix 'until' has inconsistent scope)
by LanX (Saint) on Jul 23, 2019 at 14:37 UTC
    > . I've already reported a bug for this Perl version, do you want to have your name mentioned in the Thanks section?

    sure and a link to the thread here please

    something like

    Thanks to Lanx who is normally to busy/lazy to report perlbugs

    ;-)

    > The bug might manifest in other places, too, where it can cause serious headaches.

    Sure that's why I've put so much effort into it. But I think the chances are <1%.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

      Reported. I originally meant you should report it, but yeah, it's becoming a routine for me.

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
        > Reported.

        Thanks a lot!

        > I originally meant you should report it,

        passive aggressive? ;)

        > but yeah, it's becoming a routine for me.

        Awesome! In this case reporting this Re^3: shift on empty array in list context broken should be easy, too! ;-P

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery FootballPerl is like chess, only without the dice