$UPDATE = `$command << EOF`; $variable is the value from DB. $variable is less that $threshold EOF