title: Redirecting the debug trace of perl script to a file
body: <p>Ex:  perl -d:Trace testScript.pl > output.log</p>
  
  <p>Q:1 The traces are not redirected to the output.log file.
  How to redirect the trace.</p>
  
  <p>Q:2 Is it possible to trace the script only as in the trace it goes into the module too used in the script. Can we trace one or two level only.</p>
  
  <p>Thanks.</p>