in reply to How to test Perl Code
Like Junit for Java.. Check Test::Class or Test::Unit There are others like: Test::More, Test::Simple and so many..