in reply to Using . in variable name
That's not how Perl variable names work. Perl variable names (mostly) need to match \w+, and dot is not in \w. You cannot have a variable name with dot in it because the dot is an operator in Perl - see perlop.