Stub generator loopline gives an error in Perl


#1

The following stub gives an error, if executed in Perl language
read n:int
loopline n p:int
write answer

Error:
“my” variable $tokens masks earlier declaration in same scope at /tmp/Answer.pl line 14.
at Answer.pl. on line 14


#2

on what puzzle did you encounter this stub?

EDIT: nevermind, found it: https://www.codingame.com/contribute/view/4916cfa0a432f114f08b52c6c12b9bca3843
I’ll ping the devs