In How to read batches of SQL from a file in Perl, we learned how to read a SQL file and extract individual batches and created the Perl module dbS::Sybase::Parse::SQL_File. In How to colorize your code using Perl and Syntax::Highlight::Engine::Kate, we learned how to make HTML highlighted arbitrary code and created Perl module dbS::misc. Finally, in Sending email with attachments from Perl - the easy way, we learned how to send email with attachments and created Perl module dbS::EMail.
Now, we are going to tie them all together so we can send ourselves colorized SQL code and a screenshot of an application going screwy!