in reply to Re: Test automation
in thread Testing a .pl script

Suppose we are running the script from crontab, will that be considered as a caller?

Replies are listed 'Best First'.
Re^3: Test automation
by Eily (Monsignor) on Jul 01, 2015 at 15:01 UTC

    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.

      Thank you