What frameworks and tools would you recommend for unit-testing and mock objects in Perl?
I have an existing Perl application, that mainly does database access, reading and writing files. The application is basically a batch job type of application, it reads in bunch of stuff from files and database and writes a bunch of new files and some stuff to database.
The application currently does not have any unit-test, but I'd like refactor application to have good unit tests.
What frameworks and tools would you recommend for unit-testing and mocking objects? For example something similar to Hamcrest and JMock of Java?
Also, are there any good BDD (Behaviour Driven Development) based testing frameworks for Perl?