Perl – How To Change Output Based On Execution Context (cron or cli)
How to log messages based on your run environment ? I find myself often wanting to change my output based on my running environment. Most of the times, while your script is running like cron job, you don’t want your informative messages to go to STDOUT. One of the reasons for that, is that by… Continue reading Perl – How To Change Output Based On Execution Context (cron or cli)