in reply to Re: Test automationin thread Testing a .pl script
caller only knows about callers in the same perl process. So do or require will not trigger a main call, while cron, or even system "perl script.pl"; will.