Shamless plug: since you are a relative newbie, you might find this article:
http://www.perlmonks.org/?node_id=418891
an interesting read, especially the section "Testability and Test Suite".
Also check out the perl-qa mailing list for all kinds of testing & quality issues.
<http://lists.perl.org/showlist.cgi?name=perl-qa>