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..

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me