Syncing data using advanced SQL and Perl | Dark Hacker News