Global symbol "$x" requires explicit package name (did you forget to declare "my $x"?) at