Fix for cleantable perl code

This fixes the Clean Table macro by 1) storing the selection to a new variable `MMD__Table` and then using that in the perl script instead of stdin.