Maybe define/override the function should_stop so it always returns false?
In reply to Re: Test automation by Corion in thread Testing a .pl script by perl_help26