in reply to Perl and Mysql compare 2 tables

This should be quoted like that:

$updatetable2= q{UPDATE Table2.value2 SET Table2.value2 =(@Table1.valu +e)};