can't mix 'my Dog $x' with 'my $x of Dog'