title: write in file and STDOUT from perl script
body: <p>Hi I need to have perl script's output in both file and <code>STDOUT</code> but I cannot redirect output from shel like <code>./a.pl &gt; out.log</code>. Is it possible?</p>