How can I modify it to print the output messages both to STDOUT and a Log file.
Do I need to install some specific Perl module.
In reply to Redirecting the output to STDOUT & a LOG file by paragkalra