in reply to . "$1"

Try it and see:

$ perl -e '. "$1"' syntax error at -e line 1, near "." Execution of -e aborted due to compilation errors.

So, as everyone else has hinted, it isn't valid Perl.