in reply to Re: v5.36 syntax error around given/when
in thread v5.36 syntax error around given/when

Thanks. I was actually talking about the while-loop as well, since it contains the declaration of $v that seems to have been ignored.

Replies are listed 'Best First'.
Re^3: v5.36 syntax error around given/when
by hippo (Archbishop) on Jun 10, 2022 at 08:37 UTC

    The error about the undeclared $v comes after the 2 syntax errors. Once you see a syntax error all bets are off concerning the rest of the compilation. You need to fix the syntax errors first and only then worry about everything else.


    🦛