in reply to
Automated detection of different tables with same name
This seems quite similar to Comparing databases - what is the best way?, did none of the advice given help you? It seems to me, based on previous discussion, that you should spend some time familiarising yourself with the MS SQL Server product more. You should look at Compare SQL Server Databases with sp_CompareDB which illustrates a stored procedure to achieve this goal. You could then call this stored procedure via Perl, as you already know how to do that, having looked at your previous posts on this subject.
Hope this helps
Update. Win, to avoid any confusion please mark updates you have made to your questions after posting them.