Modules are easier to test (in respect to lonely scripts) because they export functionalities. Imagine an interactive program: it will need lot of headaches with IPC::Open3 or similar to test it.
Anyway i've not so much experience but i collected some intersting links about testing:
HtH
L*
PS the cronjob idea seems to me not so.. adequate.
In reply to Re: Testing in Perl
by Discipulus
in thread Testing in Perl
by mrguy123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |