in reply to testing framework?
in thread Instrumenting code for debugging.

Take a look at Test::Tutorial, Test::Simple and Test::More. They cover the basics. The links listed here may also be of use.