I'm trying out Perl's Test::More package. (http://search.cpan.org/~mschwern/Test-Simple-0.96/lib/Test/More.pm)
One sleepless night and a red bull later I'm close to finishing up a simple read-from-database-generate-file batch job the test driven way.
^^ This is an excellent tutorial which introduces Test Driven development in Perl using Test::More