I am using activeperl (will remember to mention this next time I post). Also since I want to use this as a standalone executable perldiag.pod will be missing (as will the rest of PERL) on any machine that this runs on.
I'll try the use warnings and the one liner test. Thank you for the extremely quick replies.