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

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.


🦛